diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 7b1560c07..9db32c639 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -319,8 +319,8 @@ class YoutubeBaseInfoExtractor(InfoExtractor): duration_text = try_get( renderer, (lambda x: x['lengthText']['simpleText'], - lambda x: x['thumbnailOverlays'][0]['thumbnailOverlayTimeStatusRenderer']['text']['simpleText']), - compat_str) + lambda x: x['thumbnailOverlays'][0]['thumbnailOverlayTimeStatusRenderer']['text']['simpleText']), + compat_str) duration = parse_duration(duration_text) view_count_text = try_get( renderer, lambda x: x['viewCountText']['simpleText'], compat_str) or ''