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] Cannot download one video #17173

Closed
IllidanS4 opened this issue Aug 6, 2018 · 3 comments
Closed

[YouTube] Cannot download one video #17173

IllidanS4 opened this issue Aug 6, 2018 · 3 comments
Labels

Comments

@IllidanS4
Copy link

@IllidanS4 IllidanS4 commented Aug 6, 2018

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.08.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.08.04

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--ffmpeg-location', u'.', u'-v', u'-o', u'video.mp4', u'https://www.youtube.com/watch?v=0tcPn_iL77U']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 2.7.5 (CPython) - Linux-3.10.0-693.11.6.el7.x86_64-x86_64-with-centos-7.3.1611-Core
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] 0tcPn_iL77U: Downloading webpage
[youtube] 0tcPn_iL77U: Downloading video info webpage
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on u'https://r2---sn-2gb7sn7z.googlevideo.com/videoplayback?mt=1533560599&lmt=1532650916561919&ip=2a02%3A2b88%3A2%3A1%3A%3A585c%3A1&itag=22&ei=Y0doW73EO4rBgQeQk7f4CQ&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&id=o-AMr6MF58uWt4g_j3sy7myBnV_c2eUwNkmbDunLJyHGTZ&fvip=2&key=yt6&requiressl=yes&mime=video%2Fmp4&expire=1533582276&mn=sn-2gb7sn7z%2Csn-c0q7lnly&ipbits=0&mm=31%2C26&c=WEB&pl=32&initcwndbps=8096250&dur=859.927&signature=C16EA2EC889AFF0975E7C8BEEA3AC7E1D239FCCF.73A388C29B43C9585E7AADF30A64717B2F3E7B81&ms=au%2Conr&mv=m&source=youtube&ratebypass=yes'
[download] Resuming download at byte 374334


ERROR: Did not get any data blocks
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "./youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "./youtube-dl/youtube_dl/__init__.py", line 472, in main
    _real_main(argv)
  File "./youtube-dl/youtube_dl/__init__.py", line 462, in _real_main
    retcode = ydl.download(all_urls)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 803, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 857, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1635, in process_video_result
    self.process_info(new_info)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1908, in process_info
    success = dl(filename, info_dict)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1847, in dl
    return fd.download(name, info)
  File "./youtube-dl/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "./youtube-dl/youtube_dl/downloader/http.py", line 342, in real_download
    return download()
  File "./youtube-dl/youtube_dl/downloader/http.py", line 312, in download
    self.report_error('Did not get any data blocks')
  File "./youtube-dl/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 620, in report_error
    self.trouble(error_message, tb)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 582, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 6, 2018

best format is not available for this video due to Youtube fault. Select different format.

@dstftw dstftw closed this Aug 6, 2018
@dstftw dstftw added the invalid label Aug 6, 2018
@IllidanS4
Copy link
Author

@IllidanS4 IllidanS4 commented Aug 6, 2018

@dstftw Well, in this case, shouldn't it at least offer a better error message?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Aug 6, 2018

No, cause it's impossible for it to guess the actual reason.

@ytdl-org ytdl-org locked and limited conversation to collaborators Aug 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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