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

(2016.03.27) Infinite redirection loop #9027

Closed
shaicoleman opened this issue Mar 29, 2016 · 2 comments
Closed

(2016.03.27) Infinite redirection loop #9027

shaicoleman opened this issue Mar 29, 2016 · 2 comments

Comments

@shaicoleman
Copy link

@shaicoleman shaicoleman commented Mar 29, 2016

After reaching the a redirect limit (e.g. 10 redirects), it should throw an error, instead of continuing forever in a loop.

$ youtube-dl 'http://www.facebook.com/video/video.php?v=http://heytinafey.tumblr.com/post/140426183278/a-tribute-to-jenny-slate-on-talk-shows'

[Tumblr] 140426183278: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video.php?v=http://heytinafey.tumblr: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Extracting information
[redirect] Following redirect to https://www.facebook.com/video/video.php?v=http://heytinafey.tumblr.com/post/140426183278/&_fb_noscript=1
[Tumblr] 140426183278: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video.php?v=http://heytinafey.tumblr: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Extracting information
[redirect] Following redirect to https://www.facebook.com/video/video.php?v=http://heytinafey.tumblr.com/post/140426183278/&_fb_noscript=1
[Tumblr] 140426183278: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video.php?v=http://heytinafey.tumblr: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Extracting information
[redirect] Following redirect to https://www.facebook.com/video/video.php?v=http://heytinafey.tumblr.com/post/140426183278/&_fb_noscript=1
[Tumblr] 140426183278: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video.php?v=http://heytinafey.tumblr: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Extracting information
[redirect] Following redirect to https://www.facebook.com/video/video.php?v=http://heytinafey.tumblr.com/post/140426183278/&_fb_noscript=1
[Tumblr] 140426183278: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video.php?v=http://heytinafey.tumblr: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Extracting information
[redirect] Following redirect to https://www.facebook.com/video/video.php?v=http://heytinafey.tumblr.com/post/140426183278/&_fb_noscript=1
[Tumblr] 140426183278: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Requesting header
WARNING: Falling back on generic information extractor.
[generic] video.php?v=http://heytinafey.tumblr: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Extracting information
[redirect] Following redirect to https://www.facebook.com/video/video.php?v=http://heytinafey.tumblr.com/post/140426183278/&_fb_noscript=1
[Tumblr] 140426183278: Downloading webpage
[generic] video.php?v=http://heytinafey.tumblr: Requesting header

And it continues looping forever

@w1lford
Copy link

@w1lford w1lford commented Mar 29, 2016

Does this only occur in the Facebook extractor?

@shaicoleman
Copy link
Author

@shaicoleman shaicoleman commented Mar 29, 2016

So far, this is the only URL type (tumblr within Facebook) that I know of that reproduces this issue. I'm guessing the issue is not specific to Facebook, but every time it is forwarded to a different extractor, and each extractor has its own counts. What's missing is a counter that checks how many times it gets redirected to the different extractors.

@dstftw dstftw closed this in afca767 Mar 30, 2016
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
2 participants
You can’t perform that action at this time.