PasteURL
PasteURL copied to clipboard
cannot retrieve meaningful page name from reddit (error "302 Found")
Example:
link https://www.reddit.com/r/selfhosted/comments/i2n515/pikvm_the_cheap_diy_kvm_over_ip_with_mouse_mass/
became
[302 Found](https://www.reddit.com/r/selfhosted/comments/i2n515/pikvm_the_cheap_diy_kvm_over_ip_with_mouse_mass/)
expected behaviour:
for reddit and structure alike would
- retrieve conversation header instead of rely on page metadata Or:
- get the last part of url (i.e.
pikvm_the_cheap_diy_kvm_over_ip_with_mouse_mass)
html element example:
<h1 id="post-title-t3_i2n515" slot="title" class="font-semibold text-neutral-content-strong m-0 text-18 xs:text-24 mb-xs px-md xs:px-0 xs:mb-md overflow-hidden" aria-label="Titolo del post: Pi-KVM: the cheap DIY KVM over IP with mouse, mass storage drive, VNC, IPMI and other" aria-describedby="feed-post-credit-bar-t3_i2n515">
Pi-KVM: the cheap DIY KVM over IP with mouse, mass storage drive, VNC, IPMI and other
</h1>
By using markdown-link-expander same link cames up with
[Reddit - The heart of the internet](https://www.reddit.com/r/selfhosted/comments/i2n515/pikvm_the_cheap_diy_kvm_over_ip_with_mouse_mass/)
wich is better but not perfect