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.
Unable to login. Twitch said: Please complete the CAPTCHA correctly. #12564
Comments
|
youtube-dl is not supposed to bypass captcha - it's your responsibility. Go to website and solve it, then export cookies and pass to youtube-dl with |
|
Then I suggest the error message for this be changed to reflect this. Perhaps with some instructions or, at least, tips on how to do that. But at the very least remove this part:
|
|
Instead of logging with your personal account, is there a way of using your personal client-id and twitch api secret to download a subscriber only vod (if you are a sub) without the captcha ? (and without the need to use the cookie) EDIT: After reading the twitch doc, I don't think it is possible to use your client-id instead of your username + password |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.03.26. 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?
Output
$ ./youtube-dl -f high -u flugasak -p hunter2 https://www.twitch.tv/videos/125404543 --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-f', u'high', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'https://www.twitch.tv/videos/125404543', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.26
[debug] Python version 2.7.12 - Linux-4.4.0-66-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.11-0ubuntu0.16.04.1, avprobe 2.8.11-0ubuntu0.16.04.1, ffmpeg 2.8.11-0ubuntu0.16.04.1, ffprobe 2.8.11-0ubuntu0.16.04.1, rtmpdump 2.4
[debug] Proxy map: {}
[twitch:vod] Downloading login page
[twitch:vod] Logging in as flugasak
ERROR: Unable to login. Twitch said: Please complete the CAPTCHA correctly.
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/extractor/twitch.py", line 83, in login_step
headers=headers)
File "./youtube-dl/youtube_dl/extractor/common.py", line 651, in _download_json
encoding=encoding, data=data, headers=headers, query=query)
File "./youtube-dl/youtube_dl/extractor/common.py", line 619, in _download_webpage
res = self._download_webpage_handle(url_or_request, video_id, note, errnote, fatal, encoding=encoding, data=data, headers=headers, query=query)
File "./youtube-dl/youtube_dl/extractor/common.py", line 526, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query)
File "./youtube-dl/youtube_dl/extractor/common.py", line 506, in _request_webpage
raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
ExtractorError: Unable to download JSON metadata: HTTP Error 400: Bad Request (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.
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 761, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 427, in extract
self.initialize()
File "./youtube-dl/youtube_dl/extractor/common.py", line 385, in initialize
self._real_initialize()
File "./youtube-dl/youtube_dl/extractor/twitch.py", line 56, in _real_initialize
self._login()
File "./youtube-dl/youtube_dl/extractor/twitch.py", line 106, in _login
'password': password,
File "./youtube-dl/youtube_dl/extractor/twitch.py", line 88, in login_step
fail(response['message'])
File "./youtube-dl/youtube_dl/extractor/twitch.py", line 65, in fail
'Unable to login. Twitch said: %s' % message, expected=True)
ExtractorError: Unable to login. Twitch said: Please complete the CAPTCHA correctly.