Merge 2bbe273a81b76d9ddd4df8bac7372db6ec1666a0 into 3eb8d22ddb8982ca4fb56bb7a8d6517538bf14c6

This commit is contained in:
blueowl04 2025-04-01 08:36:40 +02:00 committed by GitHub
commit b1368d8f8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -451,6 +451,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(),
@ -461,6 +463,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
'duration': duration,
'view_count': view_count,
'uploader': uploader,
'published_time': published_time,
}
@staticmethod