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

Can't download a specific video #1414

Closed
iTux76 opened this issue Sep 12, 2013 · 4 comments
Closed

Can't download a specific video #1414

iTux76 opened this issue Sep 12, 2013 · 4 comments

Comments

@iTux76
Copy link

@iTux76 iTux76 commented Sep 12, 2013

Hi, sorry for my bad English.
youtube-dl fail with this video : https://www.youtube.com/watch?v=yoGiCSCoPC4

I would like to download all video from a user, so I use this command : "youtube-dl http://www.youtube.com/user/languedepub2/videos"

For this report, I use this command line :
"youtube-dl https://www.youtube.com/watch?v=yoGiCSCoPC4 --verbose"

And the result is :
"[debug] System config: []
[debug] User config: ['-t', '--prefer-free-formats', '--console-title']
[debug] Command-line args: ['https://www.youtube.com/watch?v=yoGiCSCoPC4', '--verbose']
[debug] youtube-dl version 2013.09.04
[debug] Python version 2.7.2 - Darwin-12.4.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] yoGiCSCoPC4: Downloading video webpage
[youtube] yoGiCSCoPC4: Downloading video info webpage
[youtube] yoGiCSCoPC4: Extracting video information
[download] Resuming download at byte 1052

ERROR: Did not get any data blocks
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 18, in
youtube_dl.main()
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 666, in main
_real_main(argv)
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 650, in _real_main
retcode = ydl.download(all_urls)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 573, in download
videos = self.extract_info(url)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 339, in extract_info
return self.process_ie_result(ie_result, download=download)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 422, in process_ie_result
for r in ie_result['entries']
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 369, in process_ie_result
self.process_info(ie_result)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 548, in process_info
success = self.fd._do_download(filename, info_dict)
File "/usr/local/bin/youtube-dl/youtube_dl/FileDownloader.py", line 548, in _do_download
self.report_error(u'Did not get any data blocks')
File "/usr/local/bin/youtube-dl/youtube_dl/FileDownloader.py", line 148, in report_error
self.ydl.report_error(_args, *_kargs)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 217, in report_error
self.trouble(error_message, tb)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 184, in trouble
tb_data = traceback.format_list(traceback.extract_stack())"

Thank you for your great program

@mdawar
Copy link
Contributor

@mdawar mdawar commented Sep 12, 2013

Your youtube-dl version is outdated, try again using the new version.
To update run:

youtube-dl -U
@iTux76
Copy link
Author

@iTux76 iTux76 commented Sep 12, 2013

Sorry, I have a brewed version.
Now I use youtube-dl version 2013.11.09 and the problem isn't solved :/ (on the same video).

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 12, 2013

Thanks for the report, I have the same problem the first time I tested it, but then it fails a bit later with this message

ERROR: content too short (expected 64293817 bytes and served 8389300)

It may be a Youtube error, I can download the video in other formats without problems, like youtube-dl 'https://www.youtube.com/watch?v=yoGiCSCoPC4' -f 22, use youtube-dl 'https://www.youtube.com/watch?v=yoGiCSCoPC4' -F to see the available subtitles.

@iTux76
Copy link
Author

@iTux76 iTux76 commented Sep 12, 2013

It works if I force the format, thank you ;)

@iTux76 iTux76 closed this Sep 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.