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

Reddit: Some reddit.com/(r|user)/s/:id URLs are actually redirects to other sites. #34

Open
RalphORama opened this issue Jan 1, 2024 · 1 comment
Labels
backlog Soon™ enhancement New feature or request replacements URLs replaced by LinkFix

Comments

@RalphORama
Copy link
Member

Fixing these would require using curl (or libcurl or w/e) to check if the location header in the request to vxreddit is a site other than reddit.com

Example (shell):

curl -v https://vxreddit.com/r/nfl/s/klVXoLSTdX 2>&1 | grep -i location
#< location: https://twitter.com/kahuna_med/status/1741580123327869157?s=46&amp;t=m2SMNFb9k8aBi4agkkqcQA
@RalphORama RalphORama added enhancement New feature or request backlog Soon™ replacements URLs replaced by LinkFix labels Jan 1, 2024
@RalphORama RalphORama changed the title Reddit: Some reddit.com/(r|user)/s/:id URLs are actually redirects to other sites. Reddit: Some reddit.com/(r|user)/s/:id URLs are actually redirects to other sites. Jan 1, 2024
@shoegaze
Copy link

Looks like we can handle redirects within Node.js using follow-redirects

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Soon™ enhancement New feature or request replacements URLs replaced by LinkFix
Projects
None yet
Development

No branches or pull requests

2 participants