projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[extractor/common] Add support for float durations in _parse_mpd_formats (closes...
[youtube-dl]
/
youtube_dl
/
extractor
/
gfycat.py
diff --git
a/youtube_dl/extractor/gfycat.py
b/youtube_dl/extractor/gfycat.py
index 884700c52b90b53fdc8f581378d28611d7c36f33..45ccc11c10a18033c5d53d0416903425a6ef2385 100644
(file)
--- a/
youtube_dl/extractor/gfycat.py
+++ b/
youtube_dl/extractor/gfycat.py
@@
-82,7
+82,7
@@
class GfycatIE(InfoExtractor):
video_url = gfy.get('%sUrl' % format_id)
if not video_url:
continue
- filesize =
gfy.get('%sSize' % format_id
)
+ filesize =
int_or_none(gfy.get('%sSize' % format_id)
)
formats.append({
'url': video_url,
'format_id': format_id,