mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-10 05:20:09 +09:00
...or is this what the linter wants?
This commit is contained in:
parent
a80c44ea8e
commit
6c43aeea5c
@ -318,7 +318,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
||||
compat_str)
|
||||
duration_text = try_get(
|
||||
renderer,
|
||||
(lambda x: x['lengthText']['simpleText'],
|
||||
(lambda x: x['lengthText']['simpleText'],
|
||||
lambda x: x['thumbnailOverlays'][0]['thumbnailOverlayTimeStatusRenderer']['text']['simpleText']),
|
||||
compat_str)
|
||||
duration = parse_duration(duration_text)
|
||||
|
Loading…
Reference in New Issue
Block a user