]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/gfycat.py
New upstream version 2017.09.24
[youtubedl] / youtube_dl / extractor / gfycat.py
index 884700c52b90b53fdc8f581378d28611d7c36f33..45ccc11c10a18033c5d53d0416903425a6ef2385 100644 (file)
@@ -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,