[extractor/wistia] Add support for channels (#4819)

Fixes https://github.com/yt-dlp/yt-dlp/issues/4748
Related: https://github.com/yt-dlp/yt-dlp/issues/4985

Authored by: coletdjnz
This commit is contained in:
coletdjnz
2022-09-23 21:52:11 +00:00
committed by GitHub
parent f55523cfdd
commit 3c757d5ed2
3 changed files with 202 additions and 68 deletions

View File

@@ -873,24 +873,6 @@ class GenericIE(InfoExtractor):
'thumbnail': r're:^https?://.*\.jpg$',
},
},
# Wistia embed
{
'url': 'http://study.com/academy/lesson/north-american-exploration-failed-colonies-of-spain-france-england.html#lesson',
'md5': 'b9676d24bf30945d97060638fbfe77f0',
'info_dict': {
'id': '5vd7p4bct5',
'ext': 'bin',
'title': 'md5:db27290a04ae306319b0b5cce3cdf7bd',
'description': 'md5:e835b7808e11aaef29ccdc28888437af',
'duration': 623.019,
'uploader': 'study.com',
'timestamp': 1663258727,
'upload_date': '20220915',
'filesize': 29798093,
'age_limit': 0,
'thumbnail': r're:^https?://.+\.jpg$',
},
},
# Wistia standard embed (async)
{
'url': 'https://www.getdrip.com/university/brennan-dunn-drip-workshop/',
@@ -908,18 +890,6 @@ class GenericIE(InfoExtractor):
},
'skip': 'webpage 404 not found',
},
# Wistia embed with video IDs in query
{
'url': 'https://amplitude.com/amplify-sessions?amp%5Bwmediaid%5D=pz0m0l0if3&amp%5Bwvideo%5D=pz0m0l0if3&wchannelid=emyjmwjf79&wmediaid=i8um783bdt',
'info_dict': {
'id': 'md5:922795280019b3a70ca133330a4b0108',
'title': 'Amplify Sessions - Amplitude',
'description': 'md5:3d271bdee219417bb1c35eeb0937b923',
'age_limit': 0,
'thumbnail': r're:^https?://.+\.jpg$',
},
'playlist_count': 3,
},
# Soundcloud embed
{
'url': 'http://nakedsecurity.sophos.com/2014/10/29/sscc-171-are-you-sure-that-1234-is-a-bad-password-podcast/',