Some YouTube downloads failing with ERROR: Did not get any data blocks #17940

Open
opened 2026-02-21 09:44:04 -05:00 by deekerman · 0 comments
Owner

Originally created by @jellybaby on GitHub (Sep 15, 2019).

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.09.12.1
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

melanie:youtube-dl david$ ./youtube-dl -v laTOEfGsLi8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'laTOEfGsLi8']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.09.12.1
[debug] Python version 2.7.10 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] laTOEfGsLi8: Downloading webpage
[youtube] laTOEfGsLi8: Downloading video info webpage
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on u'https://r7---sn-cu-auol.googlevideo.com/videoplayback?expire=1568557218&ei=QfR9XdnMNZrqVJ3GsPAE&ip=146.199.185.236&id=o-AJmhlOOrjB32ryLKU_utgHrBmBsAeNFo7pDKKWndA0sO&itag=22&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-cu-auol%2Csn-5hnekn76&ms=au%2Conr&mv=m&mvi=6&pl=25&initcwndbps=1202500&mime=video%2Fmp4&ratebypass=yes&dur=433.818&lmt=1568491439642082&mt=1568535462&fvip=1&c=WEB&txp=3516222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cmime%2Cratebypass%2Cdur%2Clmt&sig=ALgxI2wwRAIgbuopTHfnGdQOtK_njDrD00f3-DrS99oHO3Zpaby2oN0CIHqbi7uu43sYOIS1RY8RIAIaxxedZNx8F6IJ1ceZOxo4&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIhAJQEOqNImpSubWKZcP3-MALN8PAgBiU_6A5fu_e-3emkAiA_3LR-4PHXJkZtFNHQH_v_GKFDJ9QY-XspLBIIouULnw%3D%3D'
[download] Resuming download at byte 148340


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 "./youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "./youtube-dl/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "./youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2010, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 861, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1642, in process_video_result
    self.process_info(new_info)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1917, in process_info
    success = dl(filename, info_dict)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1856, in dl
    return fd.download(name, info)
  File "./youtube-dl/youtube_dl/downloader/common.py", line 366, 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 624, in report_error
    self.trouble(error_message, tb)
  File "./youtube-dl/youtube_dl/YoutubeDL.py", line 586, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Description

Some videos are failing to download, resulting in 'ERROR: Did not get any data blocks'. Problem is affecting me on multiple OSs in multiple regions across several videos (eg jIQmdKmtxC4 also).

Originally created by @jellybaby on GitHub (Sep 15, 2019). <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2019.09.12.1. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape. - Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a broken site support - [x] I've verified that I'm running youtube-dl version **2019.09.12.1** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [x] I've searched the bugtracker for similar issues including closed ones ## Verbose log <!-- Provide the complete verbose output of youtube-dl that clearly demonstrates the problem. Add the `-v` flag to your command line you run youtube-dl with (`youtube-dl -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this: [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2019.09.12.1 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} <more lines> --> ``` melanie:youtube-dl david$ ./youtube-dl -v laTOEfGsLi8 [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-v', u'laTOEfGsLi8'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2019.09.12.1 [debug] Python version 2.7.10 (CPython) - Darwin-18.7.0-x86_64-i386-64bit [debug] exe versions: none [debug] Proxy map: {} [youtube] laTOEfGsLi8: Downloading webpage [youtube] laTOEfGsLi8: Downloading video info webpage [debug] Default format spec: best/bestvideo+bestaudio [debug] Invoking downloader on u'https://r7---sn-cu-auol.googlevideo.com/videoplayback?expire=1568557218&ei=QfR9XdnMNZrqVJ3GsPAE&ip=146.199.185.236&id=o-AJmhlOOrjB32ryLKU_utgHrBmBsAeNFo7pDKKWndA0sO&itag=22&source=youtube&requiressl=yes&mm=31%2C26&mn=sn-cu-auol%2Csn-5hnekn76&ms=au%2Conr&mv=m&mvi=6&pl=25&initcwndbps=1202500&mime=video%2Fmp4&ratebypass=yes&dur=433.818&lmt=1568491439642082&mt=1568535462&fvip=1&c=WEB&txp=3516222&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cmime%2Cratebypass%2Cdur%2Clmt&sig=ALgxI2wwRAIgbuopTHfnGdQOtK_njDrD00f3-DrS99oHO3Zpaby2oN0CIHqbi7uu43sYOIS1RY8RIAIaxxedZNx8F6IJ1ceZOxo4&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIhAJQEOqNImpSubWKZcP3-MALN8PAgBiU_6A5fu_e-3emkAiA_3LR-4PHXJkZtFNHQH_v_GKFDJ9QY-XspLBIIouULnw%3D%3D' [download] Resuming download at byte 148340 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 "./youtube-dl/__main__.py", line 19, in <module> youtube_dl.main() File "./youtube-dl/youtube_dl/__init__.py", line 474, in main _real_main(argv) File "./youtube-dl/youtube_dl/__init__.py", line 464, in _real_main retcode = ydl.download(all_urls) File "./youtube-dl/youtube_dl/YoutubeDL.py", line 2010, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "./youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "./youtube-dl/youtube_dl/YoutubeDL.py", line 861, in process_ie_result return self.process_video_result(ie_result, download=download) File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1642, in process_video_result self.process_info(new_info) File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1917, in process_info success = dl(filename, info_dict) File "./youtube-dl/youtube_dl/YoutubeDL.py", line 1856, in dl return fd.download(name, info) File "./youtube-dl/youtube_dl/downloader/common.py", line 366, 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 624, in report_error self.trouble(error_message, tb) File "./youtube-dl/youtube_dl/YoutubeDL.py", line 586, in trouble tb_data = traceback.format_list(traceback.extract_stack()) ``` ## Description <!-- Provide an explanation of your issue in an arbitrary form. Provide any additional information, suggested solution and as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> Some videos are failing to download, resulting in 'ERROR: Did not get any data blocks'. Problem is affecting me on multiple OSs in multiple regions across several videos (eg jIQmdKmtxC4 also).
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#17940
No description provided.