ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.77k stars 10.07k forks source link

packtpub site error #21268

Closed jaan143 closed 5 years ago

jaan143 commented 5 years ago

Checklist

PASTE VERBOSE LOG HERE


PS C:\Users\HDNLSR> 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/application_development/9781789619010 --limit-rate 5000k --sleep
-interval 10 --ignore-errors --username abc123@adf.com --password abc123
[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/application_development/9781789619010', '--limit-rate', '500
0k', '--sleep-interval', '10', '--ignore-errors', '--username', 'PRIVATE', '--password', 'PRIVATE']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2019.05.20
[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] 9781789619010: Downloading JSON metadata
ERROR: Unable to download JSON metadata: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(1
1001, 'getaddrinfo failed'),))
  File "c:\python36\lib\site-packages\youtube_dl\extractor\common.py", line 626, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "c:\python36\lib\site-packages\youtube_dl\YoutubeDL.py", line 2227, 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 564, in error
    result = 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 756, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "c:\python36\lib\urllib\request.py", line 526, in open
    response = self._open(req, data)
  File "c:\python36\lib\urllib\request.py", line 544, in _open
    '_open', req)
  File "c:\python36\lib\urllib\request.py", line 504, in _call_chain
    result = func(*args)
  File "c:\python36\lib\site-packages\youtube_dl\utils.py", line 1140, in https_open
    req, **kwargs)
  File "c:\python36\lib\urllib\request.py", line 1320, in do_open
    raise URLError(err)

PS C:\Users\HDNLSR>

## Description

Site is updated recently so this is the reason that your script is not working
jaan143 commented 5 years ago

@remitamine bro can you please check and fix this error thank you so much

jaan143 commented 5 years ago

@dstftw dear bro can you fix this issue

thanks

jaan143 commented 5 years ago

it is still pending sins one month :( @jaimeMF @yan12125 @rg3 please brothers try to fix this :( site is updated with new api