mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-27 01:56:52 +00:00
[gfycat] Ensure filesize is int
This commit is contained in:
parent
cc69a3de1b
commit
87f5646937
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue