mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:06:49 +00:00
Merge 2bbe273a81
into c5098961b0
This commit is contained in:
commit
f8a64a4765
@ -338,6 +338,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(),
|
||||
@ -348,6 +350,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
||||
'duration': duration,
|
||||
'view_count': view_count,
|
||||
'uploader': uploader,
|
||||
'published_time': published_time,
|
||||
}
|
||||
|
||||
def _search_results(self, query, params):
|
||||
|
Loading…
Reference in New Issue
Block a user