Handle redirects from generic site to specific site #6
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For example, https://sadboyzpod.com/itunes redirects to https://podcasts.apple.com/us/podcast/sad-boyz/id1296625412. rsstube knows how to get the feed from podcasts.apple.com, but it doesn't identify https://sadboyzpod.com/itunes as a podcasts.apple.com link (because it's not).
It would be nice if it could figure this out. In particular, maybe rather than just telling pycurl to FOLLOWLOCATION, rsstube should just receive the redirect, then re-run on the new URL. This should handle this situation:
rsstube https://sadboyzpod.com/itunes
rsstube https://itunes.apple.com/us/podcast/sad-boyz/id1296625412
rsstube https://podcasts.apple.com/us/podcast/sad-boyz/id1296625412
Simply doing this anytime a page is downloaded could cause its own issues. Figure out how and when to apply this rule.
(I don't anticipate this change making it into the Python version of rsstube, but it's an issue that should be documented somewhere.)