mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-06-30 15:26:19 +00:00
Merge 2bbe273a81b76d9ddd4df8bac7372db6ec1666a0 into 711e72c292327674c4a0593fdbb83d6347738ec9
This commit is contained in:
commit
e959bc5577
@ -448,6 +448,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(),
|
||||
@ -458,6 +460,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
||||
'duration': duration,
|
||||
'view_count': view_count,
|
||||
'uploader': uploader,
|
||||
'published_time': published_time,
|
||||
}
|
||||
|
||||
def _search_results(self, query, params):
|
||||
|
Loading…
x
Reference in New Issue
Block a user