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.
Error with CC, unpack requires a string argument of length 4 #8992
Comments
|
You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating. |
|
Just updated, same error |
|
Woops, forgot the verbose. youtube-dl http://www.cc.com/full-episodes/0d8i55/the-daily-show-with-trevor-noah-march-22--2016----taavi-roivas-season-21-ep-21082 -v |
|
I discovered that this error does not occur if I change networks, can you tell me how exactly this error is dependent on the network/isp you are connected to? It seems strange to me. |
Here is the error,
youtube-dl http://www.cc.com/full-episodes/k9bdrw/the-daily-show-with-trevor-noah-march-24--2016---ethan-hawke-season-21-ep-21084
[ComedyCentral] the-daily-show-with-trevor-noah-march-24--2016---ethan-hawke-season-21-ep-21084: Downloading webpage
[ComedyCentral] 089f595a-b17b-44ff-831a-92e396084f89: Downloading info
Traceback (most recent call last):
File "/Applications/Canopy.app/appdata/canopy-1.5.5.3123.macosx-x86_64/Canopy.app/Contents/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/Applications/Canopy.app/appdata/canopy-1.5.5.3123.macosx-x86_64/Canopy.app/Contents/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 419, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 409, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1719, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 668, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 320, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/mtv.py", line 216, in _real_extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/mtv.py", line 180, in _get_videos_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/mtv.py", line 185, in _get_videos_info_from_url
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 496, in _download_xml
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 478, in _download_webpage
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 385, in _download_webpage_handle
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 365, in _request_webpage
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1929, in urlopen
File "/Applications/Canopy.app/appdata/canopy-1.5.5.3123.macosx-x86_64/Canopy.app/Contents/lib/python2.7/urllib2.py", line 437, in open
response = meth(req, response)
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 813, in http_response
File "/Applications/Canopy.app/appdata/canopy-1.5.5.3123.macosx-x86_64/Canopy.app/Contents/lib/python2.7/gzip.py", line 261, in read
self._read(readsize)
File "/Applications/Canopy.app/appdata/canopy-1.5.5.3123.macosx-x86_64/Canopy.app/Contents/lib/python2.7/gzip.py", line 303, in _read
self._read_gzip_header()
File "/Applications/Canopy.app/appdata/canopy-1.5.5.3123.macosx-x86_64/Canopy.app/Contents/lib/python2.7/gzip.py", line 202, in _read_gzip_header
self.mtime = read32(self.fileobj)
File "/Applications/Canopy.app/appdata/canopy-1.5.5.3123.macosx-x86_64/Canopy.app/Contents/lib/python2.7/gzip.py", line 25, in read32
return struct.unpack("<I", input.read(4))[0]
struct.error: unpack requires a string argument of length 4