From: Jaime Marquínez Ferrándiz Date: Sun, 10 Jan 2016 13:32:53 +0000 (+0100) Subject: [downloader/fragment] Don't fail if the 'Content-Length' header is missing X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=3c91e41614a0f3bfab8710e861c895b78d93bce8;hp=3c91e41614a0f3bfab8710e861c895b78d93bce8;p=youtube-dl [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). ---