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

Request to add follow redirect and maximum redirect options #13036

Open
ElleshaHackett opened this issue May 9, 2017 · 0 comments
Open

Request to add follow redirect and maximum redirect options #13036

ElleshaHackett opened this issue May 9, 2017 · 0 comments

Comments

@ElleshaHackett
Copy link

@ElleshaHackett ElleshaHackett commented May 9, 2017

What is the purpose of this issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

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-dl in a script used in a IPTV setup. Where youtube-dl fetches the m3u8 URL's from YouTube livestreams. Other then YouTube the general method of youtube-dl works 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-dl to 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.