mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-19 19:58:30 +00:00
Fix typo and formatting
This commit is contained in:
parent
ec64564c2f
commit
df3d240659
@ -4,12 +4,12 @@
|
|||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
int_or_none,
|
int_or_none,
|
||||||
|
float_or_none,
|
||||||
|
jwt_decode_hs256,
|
||||||
mimetype2ext,
|
mimetype2ext,
|
||||||
parse_iso8601,
|
parse_iso8601,
|
||||||
parse_qs,
|
parse_qs,
|
||||||
str_or_none,
|
|
||||||
url_or_none,
|
url_or_none,
|
||||||
jwt_decode_hs256,
|
|
||||||
)
|
)
|
||||||
from ..utils.traversal import traverse_obj
|
from ..utils.traversal import traverse_obj
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ def _real_extract(self, url):
|
|||||||
'aspect_ratio': ('aspectRatio', {float_or_none}),
|
'aspect_ratio': ('aspectRatio', {float_or_none}),
|
||||||
}))
|
}))
|
||||||
|
|
||||||
if filesize := traverse_obj(video_extract, ('storageSize', {int_or_none})):
|
if filesize := traverse_obj(video_extra, ('storageSize', {int_or_none})):
|
||||||
for fmt in formats:
|
for fmt in formats:
|
||||||
fmt['filesize'] = filesize
|
fmt['filesize'] = filesize
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user