mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-03-01 12:38:04 +00:00
[ie/youtube] Add membership data to comments
This commit is contained in:
parent
dd2e244469
commit
1bd38adbf6
1 changed files with 2 additions and 0 deletions
|
@ -3634,6 +3634,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
|||
'author_thumbnail': ('author', 'avatarThumbnailUrl', {url_or_none}),
|
||||
'author_is_uploader': ('author', 'isCreator', {bool}),
|
||||
'author_is_verified': ('author', 'isVerified', {bool}),
|
||||
'author_is_member': ('author', 'sponsorBadgeA11y', {str}),
|
||||
'author_member_badge': ('author', 'sponsorBadgeUrl', {url_or_none}),
|
||||
'author_url': ('author', 'channelCommand', 'innertubeCommand', (
|
||||
('browseEndpoint', 'canonicalBaseUrl'), ('commandMetadata', 'webCommandMetadata', 'url'),
|
||||
), {lambda x: urljoin('https://www.youtube.com', x)}),
|
||||
|
|
Loading…
Add table
Reference in a new issue