Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to extract links from querystrings and URL fragments (e.g. postmark has pst.mk/$theactuallink/blahblahblah) #13

Open
JaneJeon opened this issue Oct 8, 2021 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@JaneJeon
Copy link
Collaborator

JaneJeon commented Oct 8, 2021

This is a long shot, but for links that don’t automatically redirect you to its destination (think YouTube links) AND don’t get caught by ClearURLs filter, it would be swell to find out where the ultimate destination is, and often times it’s done by embedding the actual link within the querystring.

Using something like this https://github.com/sindresorhus/get-urls/blob/main/index.js#L5 and https://github.com/niftylettuce/url-regex-safe we could extract URLs from querystrings.

The question is, then what? What do we treat it as? A candidate? What if it’s something completely unrelated? How do we know when it is a “candidate” and if so, how do we know if this candidate fits better than others?

@JaneJeon JaneJeon added the help wanted Extra attention is needed label Oct 8, 2021
@JaneJeon JaneJeon changed the title Try to extract links from querystrings Try to extract links from querystrings and URL fragments (e.g. postmark has pst.mk/$theactuallink/blahblahblah) Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant