mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-21 00:25:42 +07:00
[gfycat] Ensure filesize is int
This commit is contained in:
@@ -82,7 +82,7 @@ def _real_extract(self, url):
|
|||||||
video_url = gfy.get('%sUrl' % format_id)
|
video_url = gfy.get('%sUrl' % format_id)
|
||||||
if not video_url:
|
if not video_url:
|
||||||
continue
|
continue
|
||||||
filesize = gfy.get('%sSize' % format_id)
|
filesize = int_or_none(gfy.get('%sSize' % format_id))
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': video_url,
|
'url': video_url,
|
||||||
'format_id': format_id,
|
'format_id': format_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user