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.
can't download playlist of youtube video #12033
Comments
|
I can't reproduce it. The link https://www.youtube.com/watch?v=F620ommtjqk&index=1&list=PLAwxTw4SYaPnFKojVQrmyOGFCqHTxfdv2 is a single video which works fine to download. Also downloading the playlist https://www.youtube.com/playlist?list=PLAwxTw4SYaPnFKojVQrmyOGFCqHTxfdv2 works fine (458 videos). |
|
@ThomasChr |
|
Sorry for that, but no problem on my machine:
|
|
Ok, got it, i think it's net connection problem. Thks for you quick reply! @ThomasChr |
youtube-dl --verbose https://www.youtube.com/watch\?v\=F620ommtjqk\&index\=1\&list\=PLAwxTw4SYaPnFKojVQrmyOGFCqHTxfdv2
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.youtube.com/watch?v=F620ommtjqk&index=1&list=PLAwxTw4SYaPnFKojVQrmyOGFCqHTxfdv2']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.02.07
[debug] Python version 2.7.12 - Linux-3.19.0-66-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 9.20-6, avprobe 9.20-6
[debug] Proxy map: {'http': 'http://127.0.0.1:8118', 'https': 'https://127.0.0.1:8118'}
[youtube:playlist] Downloading playlist PLAwxTw4SYaPnFKojVQrmyOGFCqHTxfdv2 - add --no-playlist to just download video F620ommtjqk
[youtube:playlist] PLAwxTw4SYaPnFKojVQrmyOGFCqHTxfdv2: Downloading webpage
[download] Downloading playlist: Intro to Parallel Programming
[youtube:playlist] PLAwxTw4SYaPnFKojVQrmyOGFCqHTxfdv2: Downloading page #1
ERROR: Unable to download JSON metadata: '' (caused by BadStatusLine("''",)); 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 416, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2006, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 1048, in https_open
req, **kwargs)
File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1136, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 453, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 417, in _read_status
raise BadStatusLine(line)
youtube-dl --version
2017.02.07