Skip to content
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

[PacktPubCourse] <course_id>: Downloading JSON metadata ERROR #21507

Closed
Korreia opened this issue Jun 24, 2019 · 1 comment
Closed

[PacktPubCourse] <course_id>: Downloading JSON metadata ERROR #21507

Korreia opened this issue Jun 24, 2019 · 1 comment
Labels

Comments

@Korreia
Copy link

@Korreia Korreia commented Jun 24, 2019

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.06.21
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

D:\Packt>youtube-dl --verbose -o "%(playlist)s/%(chapter_number)s - %(chapter)s/%(id)s - %(title)s.%(ext)s" https://subscription.packtpub.com/video/application_development/9781788391009 --username XXX --password "XXX"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', '-o', '%(playlist)s/%(chapter_number)s - %(chapter)s/%(id)s - %(title)s.%(ext)s', 'https://subscription.packtpub.com/video/application_development/9781788391009', '--username', 'PRIVATE', '--password', 'PRIVATE']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2019.06.21
[debug] Python version 3.4.4 (CPython) - Windows-2012ServerR2-6.3.9600
[debug] exe versions: ffmpeg N-93955-g415886588f, ffprobe N-93955-g415886588f
[debug] Proxy map: {}
[PacktPubCourse] 9781788391009: Downloading JSON metadata
ERROR: Unable to download JSON metadata: <urlopen error [Errno 11001] getaddrinfo failed> (caused by URLError(gaierror(11001, 'getaddrinfo failed'),))
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmppgbwk_g4\build\youtube_dl\extractor\common.py", line 627, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmppgbwk_g4\build\youtube_dl\YoutubeDL.py", line 2227, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 502, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 685, in http_error_302
  File "C:\Python\Python34\lib\urllib\request.py", line 464, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 482, in _open
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmppgbwk_g4\build\youtube_dl\utils.py", line 1140, in https_open
  File "C:\Python\Python34\lib\urllib\request.py", line 1185, in do_open

output of nslookup subscription.packtpub.com
D:\Packt>nslookup subscription.packtpub.com
Server:  router.cisco.com
Address:  192.168.1.1

Non-authoritative answer:
Name:    subscription.packtpub.com.cdn.cloudflare.net
Addresses:  2606:4700:10::6814:ff43
          2606:4700:10::6814:fe43
          104.20.255.67
          104.20.254.67
Aliases:  subscription.packtpub.com


D:\Packt>

Description

Unable to download video from PacktPub due to the ERROR: Unable to download JSON metadata

@dstftw dstftw closed this Jun 27, 2019
@dstftw dstftw added the duplicate label Jun 27, 2019
@Korreia
Copy link
Author

@Korreia Korreia commented Jun 28, 2019

Can you link to the duplicate issue? I cannot find it. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.