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

Unable to download JSON metadata - Foodnetwork.ca #13879

Closed
level42ca opened this issue Aug 10, 2017 · 4 comments
Closed

Unable to download JSON metadata - Foodnetwork.ca #13879

level42ca opened this issue Aug 10, 2017 · 4 comments

Comments

@level42ca
Copy link

@level42ca level42ca commented Aug 10, 2017

  • I've verified and I assure that I'm running youtube-dl 2017.08.09
  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

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:

[~] # youtube-dl http://www.foodnetwork.ca/shows/unique-sweets/video/episode/deep-freeze/video.html?v=992883779587
[debug] System config: []
[debug] User config: [u'-o', u'/share/MD0_DATA/Torrents/YouTube-DL/%(title)s.%(ext)s', u'-v', u'--ap-mso', u'Rogers', u'--netrc']
[debug] Custom config: []
[debug] Command-line args: [u'http://www.foodnetwork.ca/shows/unique-sweets/video/episode/deep-freeze/video.html?v=992883779587']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.08.09
[debug] Python version 2.7.5 - Linux-4.2.8-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 2.8.5
[debug] Proxy map: {}
[Corus] 992883779587: Downloading JSON metadata
ERROR: Unable to download JSON metadata: [Errno 8] _ssl.c:1363: EOF occurred in violation of protocol (caused by SSLError(8, '_ssl.c:1363: EOF occurred in violation of protocol')); 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 502, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2166, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/root/daily_build/64_22/4.3.3/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/urllib2.py", line 410, in open
  File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 974, in http_response
    content = resp.read()
  File "/root/daily_build/64_22/4.3.3/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/socket.py", line 351, in read
  File "/root/daily_build/64_22/4.3.3/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/httplib.py", line 567, in read
  File "/root/daily_build/64_22/4.3.3/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/socket.py", line 380, in read
  File "/root/daily_build/64_22/4.3.3/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/ssl.py", line 241, in recv
  File "/root/daily_build/64_22/4.3.3/SysUtil/Python-2.7.5-cross/install_path_full/lib/python2.7/ssl.py", line 160, in read

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):


Description of your issue, suggested solution and other information

I have youtube-dl running on my QNAP, I've setup the user config file, and the netrc file.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 10, 2017

Outdated python.

@dstftw dstftw closed this Aug 10, 2017
@level42ca
Copy link
Author

@level42ca level42ca commented Aug 10, 2017

Thanks, I'll see about updating it :)


[Edit 1]

Hmm, my log says I'm using

[debug] Python version 2.7.5 - Linux-4.2.8-x86_64-with-glibc2.2.5

The documentation says the following:

youtube-dl is a command-line program to download videos from YouTube.com and a few more sites. It requires the Python interpreter, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work on your Unix box, on Windows or on Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.

What version of Python do I then need? @dstftw

@siddht4
Copy link

@siddht4 siddht4 commented Aug 10, 2017

Based on your log, YouTube-dl failed to establish the SSL connection with the server.youtube-dl can run in python version 2.6 to 3.7. anyways try as 'python3 YouTube-dl' to run it in latest python version 3.7

@level42ca
Copy link
Author

@level42ca level42ca commented Aug 10, 2017

Thanks for the help, I was able to update Python, and all is well.

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
3 participants
You can’t perform that action at this time.