From a80c44ea8e99aaac587b12cd706c1746b6dfbe9c Mon Sep 17 00:00:00 2001 From: Glenn Slayden <5589855+glenn-slayden@users.noreply.github.com> Date: Tue, 6 Jul 2021 14:10:41 -0700 Subject: [PATCH] Adjust hanging alignment, if you prefer? --- youtube_dl/extractor/youtube.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ''