[GH-ISSUE #83] Request: Following redirect URLs #3079

Closed
opened 2026-03-14 20:55:56 +03:00 by kerem · 2 comments
Owner

Originally created by @evalexpr on GitHub (Jul 19, 2018).
Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/83

Some of my pocket bookmarks are saved as t.co URLs from Twitter. So it's pretty difficult to find out what these URLs are at first glance without visiting them.

Would it be worth us making a HEAD request to the URL, checking for a redirect, and a "Location" header, then working with the forwarded URL instead?

I can probably tackle this problem if desired

Originally created by @evalexpr on GitHub (Jul 19, 2018). Original GitHub issue: https://github.com/ArchiveBox/ArchiveBox/issues/83 Some of my pocket bookmarks are saved as `t.co` URLs from Twitter. So it's pretty difficult to find out what these URLs are at first glance without visiting them. Would it be worth us making a `HEAD` request to the URL, checking for a redirect, and a "Location" header, then working with the forwarded URL instead? I can probably tackle this problem if desired
kerem closed this issue 2026-03-14 20:56:01 +03:00
Author
Owner

@pirate commented on GitHub (Jul 31, 2018):

Did you figure out a solution to this on your own? I'm curious as to how you ended up solving it.

<!-- gh-comment-id:409056965 --> @pirate commented on GitHub (Jul 31, 2018): Did you figure out a solution to this on your own? I'm curious as to how you ended up solving it.
Author
Owner

@evalexpr commented on GitHub (Jul 31, 2018):

Not as of yet, I have a hacky solution - but I was planning on implementing it properly and making a PR.

Not sure if many people encounter the same problem/it's worth solving though, hence the close. (Feel free to reopen if you think it's worth exploring)

<!-- gh-comment-id:409294176 --> @evalexpr commented on GitHub (Jul 31, 2018): Not as of yet, I have a hacky solution - but I was planning on implementing it properly and making a PR. Not sure if many people encounter the same problem/it's worth solving though, hence the close. (Feel free to reopen if you think it's worth exploring)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#3079
No description provided.