X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Farte.py;h=69a23e88c5b08738a3ce66cce47215fe58e4fcc0;hb=71631862f4de5a10223642ebdbd5e10db374d270;hp=21d336ca702ac4223a52722cab46898f42a3ac78;hpb=9c4258bcec91e2706f5707d4e526c267b5e5b14b;p=youtube-dl diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py index 21d336ca7..69a23e88c 100644 --- a/youtube_dl/extractor/arte.py +++ b/youtube_dl/extractor/arte.py @@ -408,15 +408,15 @@ class ArteTVEmbedIE(ArteTVPlus7IE): lang = mobj.group('lang') json_url = mobj.group('json_url') return self._extract_from_json_url(json_url, video_id, lang) - - -class ArteTVOperaPlatformIE(ArteTVPlus7IE): - IE_NAME = 'arte.tv:operaplatform' - _VALID_URL = r'https?://www.theoperaplatform.eu/(?Pfr|de|en|es)/(?P[^/?#&]+)' + + +class TheOperaPlatformIE(ArteTVPlus7IE): + IE_NAME = 'theoperaplatform' + _VALID_URL = r'https?://(?:www\.)?theoperaplatform\.eu/(?Pfr|de|en|es)/(?P[^/?#&]+)' _TESTS = [{ 'url': 'http://www.theoperaplatform.eu/de/opera/verdi-otello', - 'md5': '80f5d3fc97957b5dbfc1ddfde93b8098', + 'md5': '970655901fa2e82e04c00b955e9afe7b', 'info_dict': { 'id': '060338-009-A', 'ext': 'mp4',