Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
What is the purpose of this issue?
Description of the suggested feature
It would be nice add a feature that allows to follow HTTP redirects and to add a maximum to that. In a similar way CURL has with the options:
I use
youtube-dlin a script used in a IPTV setup. Whereyoutube-dlfetches the m3u8 URL's from YouTube livestreams. Other then YouTube the general method ofyoutube-dlworks fine on plenty of other websites. Some of this websites have moved their page and so redirect the user using an HTTP 301 or 302 status.It could be great to have to flags that allows
youtube-dlto follow those redirects (with a default maximum that can be altered similar to the two mentioned CURL options). This way the chance of getting a valid m3u8 stream back will improve, since the website is redirecting for a reason. It might still fail, but the changes are at least better.