mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-30 04:08:01 +01:00
Typo fix (metsadata->metadata) for video duration (as it's optional, it didn't break anything).
This commit is contained in:
parent
6d805a6a1a
commit
044a2ebb3b
@ -74,5 +74,5 @@ class FloatplaneIE(InfoExtractor):
|
|||||||
'url': video_url,
|
'url': video_url,
|
||||||
'thumbnail': try_get(info_json, lambda x: x['thumbnail']['path'], compat_str),
|
'thumbnail': try_get(info_json, lambda x: x['thumbnail']['path'], compat_str),
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
'duration': int_or_none(try_get(info_json, lambda x: x['metsadata']['videoDuration']))
|
'duration': int_or_none(try_get(info_json, lambda x: x['metadata']['videoDuration']))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user