Youtube error? #54

Closed
opened 2026-02-20 22:24:13 -05:00 by deekerman · 8 comments
Owner

Originally created by @fieldlab on GitHub (Feb 25, 2011).

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

Originally created by @fieldlab on GitHub (Feb 25, 2011). 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 <module> 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
deekerman 2026-02-20 22:24:13 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rg3 commented on GitHub (Feb 25, 2011):

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."

@rg3 commented on GitHub (Feb 25, 2011): 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."
Author
Owner

@rg3 commented on GitHub (Feb 25, 2011):

Try the following youtube-dl version. It should create a .txt file before crashing, that you can mail me or upload it somewhere.

https://gist.github.com/2a59b361faa7e9c196b5

@rg3 commented on GitHub (Feb 25, 2011): Try the following youtube-dl version. It should create a .txt file before crashing, that you can mail me or upload it somewhere. https://gist.github.com/2a59b361faa7e9c196b5
Author
Owner

@Elizafox commented on GitHub (Mar 9, 2011):

http://pastebin.com/q1v66RJC here's a log from it doing it for me.

@Elizafox commented on GitHub (Mar 9, 2011): http://pastebin.com/q1v66RJC here's a log from it doing it for me.
Author
Owner

@rg3 commented on GitHub (Mar 10, 2011):

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.

@rg3 commented on GitHub (Mar 10, 2011): 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.
Author
Owner

@Elizafox commented on GitHub (Mar 11, 2011):

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.

@Elizafox commented on GitHub (Mar 11, 2011): 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.
Author
Owner

@rg3 commented on GitHub (Mar 15, 2011):

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.

@rg3 commented on GitHub (Mar 15, 2011): 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.
Author
Owner

@rg3 commented on GitHub (Mar 29, 2011):

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.

@rg3 commented on GitHub (Mar 29, 2011): 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.
Author
Owner

@phihag commented on GitHub (Sep 13, 2011):

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.

@phihag commented on GitHub (Sep 13, 2011): 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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#54
No description provided.