mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2026-05-06 09:53:24 +00:00
Merge 2bbe273a81 into 956b8c5855
This commit is contained in:
commit
0280017d6f
|
|
@ -521,6 +521,8 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
|||
renderer,
|
||||
(lambda x: x['ownerText']['runs'][0]['text'],
|
||||
lambda x: x['shortBylineText']['runs'][0]['text']), compat_str)
|
||||
published_time = try_get(
|
||||
renderer, lambda x: x['publishedTimeText']['simpleText'], compat_str) or ''
|
||||
return {
|
||||
'_type': 'url',
|
||||
'ie_key': YoutubeIE.ie_key(),
|
||||
|
|
@ -531,6 +533,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
|||
'duration': duration,
|
||||
'view_count': view_count,
|
||||
'uploader': uploader,
|
||||
'published_time': published_time,
|
||||
}
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Reference in a new issue