[extractor/tumblr] support twitch_live provider

This commit is contained in:
Lauren N. Liberda 2023-07-08 00:21:14 +02:00
parent 7a1f3a1c70
commit 2a298347e1
No known key found for this signature in database
GPG Key ID: 734C629FD04BD319
1 changed files with 5 additions and 0 deletions

View File

@ -345,6 +345,10 @@ class TumblrIE(InfoExtractor):
'repost_count': int,
},
'playlist_count': 2,
}, {
# twitch_live provider - error when linked account is not live
'url': 'https://www.tumblr.com/anarcho-skamunist/722224493650722816/hollow-knight-stream-right-now-going-to-fight',
'only_matching': True,
}]
_providers = {
@ -354,6 +358,7 @@ class TumblrIE(InfoExtractor):
'youtube': 'Youtube',
'dailymotion': 'Dailymotion',
'tiktok': 'TikTok',
'twitch_live': 'TwitchStream',
}
# these are known providers, but we don't know which entity type
# we are supposed to extract, so we use matching by url