mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-22 10:11:52 +00:00
parent
dd9aa74bee
commit
2dd6c6edd8
1 changed files with 3 additions and 1 deletions
|
@ -2122,7 +2122,9 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
microformat.get('uploadDate')
|
microformat.get('uploadDate')
|
||||||
or search_meta('uploadDate')),
|
or search_meta('uploadDate')),
|
||||||
'uploader': video_details['author'],
|
'uploader': video_details['author'],
|
||||||
'uploader_id': self._search_regex(r'/(?:channel|user)/([^/?&#]+)', owner_profile_url, 'uploader id') if owner_profile_url else None,
|
'uploader_id': self._search_regex(
|
||||||
|
r'/(?:channel|user)/([^/?&#]+)', owner_profile_url,
|
||||||
|
'uploader id', fatal=False) if owner_profile_url else None,
|
||||||
'uploader_url': owner_profile_url,
|
'uploader_url': owner_profile_url,
|
||||||
'channel_id': channel_id,
|
'channel_id': channel_id,
|
||||||
'channel_url': 'https://www.youtube.com/channel/' + channel_id if channel_id else None,
|
'channel_url': 'https://www.youtube.com/channel/' + channel_id if channel_id else None,
|
||||||
|
|
Loading…
Reference in a new issue