aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-10-16 00:24:06 +0700
committerSergey M․ <dstftw@gmail.com>2016-10-16 00:24:06 +0700
commit4b492e357903b2994a649f4c4d8b1e729fb5a71c (patch)
treed1b24a7c3141fcbc0ec95587bc7d3cf85a806e75 /youtube_dl
parent9c4258bcec91e2706f5707d4e526c267b5e5b14b (diff)
[theoperaplatform] Rename, fix _VALID_URL and fix test
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/arte.py12
1 files changed, 6 insertions, 6 deletions
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/(?P<lang>fr|de|en|es)/(?P<id>[^/?#&]+)'
+
+
+class TheOperaPlatformIE(ArteTVPlus7IE):
+ IE_NAME = 'theoperaplatform'
+ _VALID_URL = r'https?://(?:www\.)?theoperaplatform\.eu/(?P<lang>fr|de|en|es)/(?P<id>[^/?#&]+)'
_TESTS = [{
'url': 'http://www.theoperaplatform.eu/de/opera/verdi-otello',
- 'md5': '80f5d3fc97957b5dbfc1ddfde93b8098',
+ 'md5': '970655901fa2e82e04c00b955e9afe7b',
'info_dict': {
'id': '060338-009-A',
'ext': 'mp4',