Skip to content

Conversation

@singinwhale
Copy link
Contributor

I was batch downloading a bunch of videos and some of the CDN servers did not think it important to send a CONTENT_LENGTH headers which made the process crash after fetching half of the video. 127 of 188 videos had that issue for some reason.

I didn't have time to properly refactor estimate_size to return an error in case the header is missing and to make download_streams handle the fallback case properly if there is no estimate available so consider this more of a hotfix.

Thanks for making this cool tool btw. I am enjoying it.
Cheers!

@clitic clitic merged commit 748fda5 into clitic:main Dec 10, 2025
1 check passed
@clitic
Copy link
Owner

clitic commented Dec 10, 2025

thanks for the pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants