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.
Youtube error? #86
Youtube error? #86
Comments
|
Unable to reproduce the issue here, because YouTube is telling me: "This video contains content from Turner CNN, who has blocked it in your country on copyright grounds." |
|
Try the following youtube-dl version. It should create a .txt file before crashing, that you can mail me or upload it somewhere. |
|
http://pastebin.com/q1v66RJC here's a log from it doing it for me. |
|
It's definitely a weird problem. The videos are not available in my country, so I can't investigate much further. I'll try to find a proxy to do further testing. Thanks for taking the time to run the debug version and paste the output, Elizacat. |
|
No problem. I can do more debugging/investigating if you wish. If you're available on IRC or such, I'm usually around on freenode and a few other nets using the same handle I have here, so you can just ping me. |
|
Still looking into the issue. I have added code that trivially prevents the program from crashing. However, we cannot download these videos yet, so I'll keep the issue open. |
|
While I try to solve this issue (help is very welcome, like always), I'm going to release a stable version that prevents the program crash. This version won't be able to download these videos, though. |
|
The example video is blocked in the US and Germany now. Since the code in question has changed, I'll close this issue. Feel free to reopen it (or open a new one) if the problem occurs again with the current youtube-dl. |
tube "http://www.youtube.com/watch?v=7wwapxcYQ2o"
[youtube] Setting language
[youtube] 7wwapxcYQ2o: Downloading video webpage
[youtube] 7wwapxcYQ2o: Downloading video info webpage
[youtube] 7wwapxcYQ2o: Extracting video information
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl", line 2985, in
retcode = fd.download(all_urls)
File "/usr/local/bin/youtube-dl", line 604, in download
ie.extract(url)
File "/usr/local/bin/youtube-dl", line 844, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl", line 1083, in _real_extract
url_map = dict(tuple(pair.split('|')) for pair in video_info['fmt_url_map'][0].split(','))
ValueError: dictionary update sequence element #0 has length 1; 2 is required