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
[twitch:vod] Login issue while downloading VOD which requires channel subscription #17024
Comments
I had the same problem with the episode last week, except since I renewed my cookies I get a 403 instead of a 404.
This is very much still an issue with the lastest version of youtube_dl (2018.7.21) |
Same issue with different output from me. youtube-dl -x --audio-format mp3 -u [redacted] -p [redacted] --verbose --cookies ~/Downloads/cookies.txt https://www.twitch.tv/videos/288895895
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-x', u'--audio-format', u'mp3', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'--verbose', u'--cookies', u'/Users/timbroder/Downloads/cookies.txt', u'https://www.twitch.tv/videos/288895895']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.21
[debug] Python version 2.7.15 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0, ffprobe 4.0
[debug] Proxy map: {}
[twitch:vod] Downloading login page
[twitch:vod] Logging in
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 599, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
response = meth(req, response)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
return self._call_chain(*args)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) |
I'm not sure if this is new or not. But Twitch's login is using The login form makes this request:
Which returns: I've been tinkering with Will try again over the weekend. Does anyone know if passport is new and could be the issue or am I chasing a red herring? |
Can't tell the exact date, but it's relatively new, yes. |
To add some fun, there's captcha on the new endpoint
|
If anyone is available to test this, much appreciated |
@dstftw thank you for merging! |
@dstftw or @alyssarowan could you re-open this issue, please? It's happening again. I'll try to look at it over the weekend |
@timbroder What was the solution to the "failed to decode json" error? I'm messing around with this myself and am getting this error. I'm sure I'm providing proper JSON. |
@ryancole IIRC I had to change how it was passed here What are you playing with? When I said I had an issue it turned out to be that my subscription to the channel had lapsed |
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like this:[x]
)Make sure you are using the latest version: run
youtube-dl --version
and ensure your version is 2018.07.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-v
flag to your command line you run youtube-dl with (youtube-dl -v <your command line>
), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
Very recently (this week) yt-dl is unable to log in to Twitch.tv to download any VOD for local playback which requires a channel subscription - looks like the account login flow has broken? It worked last week - same account/password - and it still works in the browser.
The text was updated successfully, but these errors were encountered: