Browse Source

[gfycat] Ensure filesize is int

master-ytdl-org
Sergey M․ 7 years ago
parent
commit
87f5646937
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/gfycat.py

+ 1
- 1
youtube_dl/extractor/gfycat.py View 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,


Loading…
Cancel
Save