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

Youtube error? #86

Closed
fieldlab opened this issue Feb 26, 2011 · 8 comments
Closed

Youtube error? #86

fieldlab opened this issue Feb 26, 2011 · 8 comments
Labels

Comments

@fieldlab
Copy link

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

@rg3
Copy link
Collaborator

rg3 commented Feb 26, 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
Copy link
Collaborator

rg3 commented Feb 26, 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

@Elizafox
Copy link

Elizafox commented Mar 9, 2011

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

@rg3
Copy link
Collaborator

rg3 commented 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.

@Elizafox
Copy link

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.

@rg3
Copy link
Collaborator

rg3 commented 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
Copy link
Collaborator

rg3 commented 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.

rbrito referenced this issue in rbrito/youtube-dl Apr 21, 2011
@phihag
Copy link
Contributor

phihag commented 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 phihag closed this as completed Sep 13, 2011
joedborg referenced this issue in joedborg/youtube-dl Nov 17, 2020
[pull] master from rg3:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants