Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Failing to retry download or try next format on "Did not get any data blocks" error #23106
Comments
|
This reproduces for me as well on 2/3 youtube links I tried. The two below fail with this error signature; the third failed with a different error. https://www.youtube.com/watch?v=vJ290qlAbbw&list=PLHTh1InhhwT6KhvViwRiTR7I5s09dLCSw&index=7
|
|
Same with version 2019.11.22
|
|
I can get the first entry in a playlist, but nothing after that. 2019.11.28 & 2019.8.2 both have the same issue
|
|
I found my first YT video (twqp9YjfMIw) ever that I'm experiencing the error with. Maybe YT-DL doesn't get some sizes correctly together while doing its sped up download thingy? Maybe YT is testing some sort of anti-ripping mechanism? Or maybe THAT specific format is simply corrupted on the server? So, what I conclude from my little test: |
|
Previous entry by me worked fine the next day, Apart from writing subtitles. I can't get that to work. |
Either there are no YT auto generated subs for the video. Or you used |
the syntax is correct. but I still don't get subtitles for the playlist. |
Checklist
Verbose log
Description
I'm using youtube-dl to download videos as 720p mp4a (
-f 22). As per issues like #17148 and #20296 this is apparently an issue with Youtube, and as of the last few months(?) I often get downloads failing with theDid not get any data blocks.So as a solution to this I tried using the format fallback mechanism and specifying
-f 22/best(as per the format section docs and this very old bug #650), so it'll prefer the mp4a then fallback to to the default format. However this doesn't work - youtube-dl stops after the first error occurs:Although it would be useful in my case, I'm not certain if it would be correct for the "no data blocks" error to try the next format (since I assume Youtube API claims the format does exist), however the output saying "Retrying (attempt 1 of 10)" but it immediately exiting definitely seems like a bug?