hanover-computing / canonicize-url

Get a stable, canonical version of any URL, with DNS and HTTPS checks, redirects, tracker stripping, and canonical link extraction!
GNU Lesser General Public License v3.0
12 stars 0 forks source link

Fallback to "dirty" link if it means the link is alive #9

Closed JaneJeon closed 1 year ago

JaneJeon commented 2 years ago

This shouldn't be an issue for most links, but I want to be safe and not strip trackers from links (and ignore completeProvider) if it means the link is alive.

Why? Because the normalization shouldn't throw unless the link itself is dead, no matter how many times we try to resuscitate it...

JaneJeon commented 2 years ago

And we should check whether the "dirty" link is even alive.