mirror of https://github.com/blackjack4494/yt-dlc
[downloader/fragment] Don't fail if the 'Content-Length' header is missing
In some dailymotion videos (like http://www.dailymotion.com/video/x3k0dtv from #8156) the segments URLs don't have the 'Content-Length' header and HttpFD sets the 'totat_bytes' field to None, so we also use '0' in that case (since we do different math operations with it).pull/2/head
parent
7e8a800f29
commit
3c91e41614
Loading…
Reference in New Issue