[ie/unsupported] List more sites with DRM

Closes #7323, #3072, #5740, #5767, #6125
This commit is contained in:
pukkandan 2023-07-22 09:43:51 +05:30
parent 62b5c94cad
commit e705738338
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39
1 changed files with 30 additions and 0 deletions

View File

@ -42,6 +42,12 @@ class KnownDRMIE(UnsupportedInfoExtractor):
r'vootkids\.com',
r'nowtv\.it/watch',
r'tv\.apple\.com',
r'primevideo\.com',
r'hulu\.com',
r'resource\.inkryptvideos\.com',
r'joyn\.de',
r'amazon\.(?:\w{2}\.)?\w+/gp/video',
r'music\.amazon\.(?:\w{2}\.)?\w+',
)
_TESTS = [{
@ -111,6 +117,30 @@ class KnownDRMIE(UnsupportedInfoExtractor):
# https://github.com/yt-dlp/yt-dlp/issues/5557
'url': 'https://tv.apple.com/it/show/loot---una-fortuna/umc.cmc.5erbujil1mpazuerhr1udnk45?ctx_brand=tvs.sbd.4000',
'only_matching': True,
}, {
# https://github.com/yt-dlp/yt-dlp/issues/3072
'url': 'https://www.joyn.de/play/serien/clannad/1-1-wo-die-kirschblueten-fallen',
'only_matching': True,
}, {
# https://github.com/yt-dlp/yt-dlp/issues/7323
'url': 'https://music.amazon.co.jp/albums/B088Y368TK',
'only_matching': True,
}, {
# https://github.com/yt-dlp/yt-dlp/issues/7323
'url': 'https://www.amazon.co.jp/gp/video/detail/B09X5HBYRS/',
'only_matching': True,
}, {
# https://github.com/yt-dlp/yt-dlp/issues/6125
'url': 'https://www.primevideo.com/region/eu/detail/0H3DDB4KBJFNDCKKLHNRLRLVKQ/ref=atv_br_def_r_br_c_unkc_1_10',
'only_matching': True,
}, {
# https://github.com/yt-dlp/yt-dlp/issues/5740
'url': 'https://resource.inkryptvideos.com/v2-a83ns52/iframe/index.html#video_id=7999ea0f6e03439eb40d056258c2d736&otp=xxx',
'only_matching': True,
}, {
# https://github.com/yt-dlp/yt-dlp/issues/5767
'url': 'https://www.hulu.com/movie/anthem-6b25fac9-da2b-45a3-8e09-e4156b0471cc',
'only_matching': True,
}]
def _real_extract(self, url):