about summary refs log tree commit diff
path: root/devscripts
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-01-10 14:32:53 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2016-01-10 14:41:38 +0100
commit3c91e41614a0f3bfab8710e861c895b78d93bce8 (patch)
tree82710cb919c9123af8953900a3cabb8a7d9a2d75 /devscripts
parent7e8a800f29d52cbc6057638595df05ac69f622bb (diff)
downloadyoutube-dl-3c91e41614a0f3bfab8710e861c895b78d93bce8.tar.gz
youtube-dl-3c91e41614a0f3bfab8710e861c895b78d93bce8.tar.xz
youtube-dl-3c91e41614a0f3bfab8710e861c895b78d93bce8.zip
[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).
Diffstat (limited to 'devscripts')
0 files changed, 0 insertions, 0 deletions