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.
packtpub issue #18887
packtpub issue #18887
Comments
|
@remitamine bro can you fix it |
|
can't tell, as the failing request require account credentials. |
|
@remitamine bro please check your email i sent you account details |
|
I'm getting this error in the browser:
|
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2019.01.16. 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
-vflag 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 ```):If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
PS C:\Users\HDNLSR174> youtube-dl --verbose -o 'p:\contents\New folder/%(playlist)s/%(chapter_number)s - %(chapter)s/%(t
itle)s.%(ext)s' https://subscription.packtpub.com/video/web_development/9781838555719 --limit-rate 5000k --ignore-errors
--username abc123 --password ***
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-o', 'p:\contents\New folder/%(playlist)s/%(chapter_number)s - %(chapter)s/%
(title)s.%(ext)s', 'https://subscription.packtpub.com/video/web_development/9781838555719', '--limit-rate', '5000k', '--
ignore-errors', '--username', 'PRIVATE', '--password', 'PRIVATE']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2019.01.16
[debug] Python version 3.6.4rc1 (CPython) - Windows-2012ServerR2-6.3.9600-SP0
[debug] exe versions: ffmpeg N-89395-g71421f382f, ffprobe N-89395-g71421f382f
[debug] Proxy map: {}
[PacktPubCourse] 9781838555719: Downloading JSON metadata
[download] Downloading playlist: JavaScript AJAX XHR for Beginners [Video]
[PacktPubCourse] playlist JavaScript AJAX XHR for Beginners [Video]: Collected 12 video ids (downloading 12 of them)
[download] Downloading video 1 of 12
[PacktPub] Downloading Authorization Token
ERROR: The recaptcha solution is missing.
Traceback (most recent call last):
File "c:\python36\lib\site-packages\youtube_dl\extractor\common.py", line 605, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "c:\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 2212, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "c:\python36\lib\urllib\request.py", line 532, in open
response = meth(req, response)
File "c:\python36\lib\urllib\request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "c:\python36\lib\urllib\request.py", line 570, in error
return self._call_chain(*args)
File "c:\python36\lib\urllib\request.py", line 504, in _call_chain
result = func(*args)
File "c:\python36\lib\urllib\request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\python36\lib\site-packages\youtube_dl\extractor\packtpub.py", line 56, in _real_initialize
'password': password,
File "c:\python36\lib\site-packages\youtube_dl\extractor\packtpub.py", line 71, in _download_json
response = super(PacktPubIE, self)._download_json(*args, **kwargs)
File "c:\python36\lib\site-packages\youtube_dl\extractor\common.py", line 870, in _download_json
expected_status=expected_status)
File "c:\python36\lib\site-packages\youtube_dl\extractor\common.py", line 848, in _download_json_handle
expected_status=expected_status)
File "c:\python36\lib\site-packages\youtube_dl\extractor\common.py", line 638, in _download_webpage_handle
urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query
, expected_status=expected_status)
File "c:\python36\lib\site-packages\youtube_dl\extractor\common.py", line 623, in _request_webpage
raise ExtractorError(errmsg, sys.exc_info()[2], cause=err)
youtube_dl.utils.ExtractorError: Unable to download JSON metadata: HTTP Error 400: Bad Request (caused by <HTTPError 400
: 'Bad Request'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see
https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete
output.
Traceback (most recent call last):
File "c:\python36\lib\site-packages\youtube_dl\extractor\common.py", line 605, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "c:\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 2212, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "c:\python36\lib\urllib\request.py", line 532, in open
response = meth(req, response)
File "c:\python36\lib\urllib\request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "c:\python36\lib\urllib\request.py", line 570, in error
return self._call_chain(*args)
File "c:\python36\lib\urllib\request.py", line 504, in _call_chain
result = func(*args)
File "c:\python36\lib\urllib\request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request