Open kidol opened 8 years ago
Works fine for me either with proxy or without proxy. Please post the output of:
youtube-dl -vF "http://sythnmsvntn.tumblr.com/post/145116566731/little-kid-dancing-to-seventeens-pretty-u-this-is" --print-traffic --proxy your_proxy_ip:port
Note that --print-traffic
is broken on Python 3 (#9365), so please use Python 2.
Hmm, with Python 2 it works correctly. Before I used the youtube-dl.exe which comes with Python 3.
So obviously something changed in Python url libs? If that's the case then youtube-dl should probably normalize the url manually.
So obviously something changed in Python url libs?
Maybe. I can't reproduce it yet on Python 3 with a proxy. Need to investigate further.
I can't reproduce it yet on Python 3 with a proxy
Strange. Here is version info:
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
Related python bug I found (even though it says 2.7): http://bugs.python.org/issue18119
version 2016.05.30.2
youtube-dl -j "http://sythnmsvntn.tumblr.com/post/145116566731/little-kid-dancing-to-seventeens-pretty-u-this-is
WITHOUT proxy:
Request 1:
(why is youtube-dl removing part of the url here?)
Response:
Request 2:
OK, page is now sent and youtube-dl handles it correctly.
WITH proxy:
Same as before, but request 2 looks like this:
Notice the not removed
#_=_
at the end. This causes tumblr to respond with yet another 301 redirect (as in first response) resulting in infinite loop: