mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-27 13:50:11 +09:00
lint indentation compliance
This commit is contained in:
parent
d8aa72b006
commit
3da4918c8b
@ -315,11 +315,11 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
|||||||
lambda x: x['title']['simpleText']), compat_str)
|
lambda x: x['title']['simpleText']), compat_str)
|
||||||
description = try_get(
|
description = try_get(
|
||||||
renderer, lambda x: x['descriptionSnippet']['runs'][0]['text'],
|
renderer, lambda x: x['descriptionSnippet']['runs'][0]['text'],
|
||||||
compat_str)
|
compat_str)
|
||||||
duration_text = try_get(
|
duration_text = try_get(
|
||||||
renderer,
|
renderer,
|
||||||
(lambda x: x['lengthText']['simpleText'],
|
(lambda x: x['lengthText']['simpleText'],
|
||||||
lambda x: x['thumbnailOverlays'][0]['thumbnailOverlayTimeStatusRenderer']['text']['simpleText']),
|
lambda x: x['thumbnailOverlays'][0]['thumbnailOverlayTimeStatusRenderer']['text']['simpleText']),
|
||||||
compat_str)
|
compat_str)
|
||||||
duration = parse_duration(duration_text)
|
duration = parse_duration(duration_text)
|
||||||
view_count_text = try_get(
|
view_count_text = try_get(
|
||||||
|
Loading…
Reference in New Issue
Block a user