mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-10 11:27:27 +00:00
[youtube] Fix uploader extraction in flat playlist mode (#28045)
This commit is contained in:
parent
a363fb5d28
commit
8980f53b42
@ -308,7 +308,9 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
||||
r'^([\d,]+)', re.sub(r'\s', '', view_count_text),
|
||||
'view count', default=None))
|
||||
uploader = try_get(
|
||||
renderer, lambda x: x['ownerText']['runs'][0]['text'], compat_str)
|
||||
renderer,
|
||||
(lambda x: x['ownerText']['runs'][0]['text'],
|
||||
lambda x: x['shortBylineText']['runs'][0]['text']), compat_str)
|
||||
return {
|
||||
'_type': 'url_transparent',
|
||||
'ie_key': YoutubeIE.ie_key(),
|
||||
|
Loading…
Reference in New Issue
Block a user