projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9c4258b
)
[theoperaplatform] Rename, fix _VALID_URL and fix test
author
Sergey M․
<dstftw@gmail.com>
Sat, 15 Oct 2016 17:24:06 +0000
(
00:24
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 15 Oct 2016 17:24:06 +0000
(
00:24
+0700)
youtube_dl/extractor/arte.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/arte.py
b/youtube_dl/extractor/arte.py
index 21d336ca702ac4223a52722cab46898f42a3ac78..69a23e88c5b08738a3ce66cce47215fe58e4fcc0 100644
(file)
--- 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)
lang = mobj.group('lang')
json_url = mobj.group('json_url')
return self._extract_from_json_url(json_url, video_id, lang)
-
-
-class
ArteTV
OperaPlatformIE(ArteTVPlus7IE):
- IE_NAME = '
arte.tv:
operaplatform'
- _VALID_URL = r'https?://
www.theoperaplatform
.eu/(?P<lang>fr|de|en|es)/(?P<id>[^/?#&]+)'
+
+
+class
The
OperaPlatformIE(ArteTVPlus7IE):
+ IE_NAME = '
the
operaplatform'
+ _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',
_TESTS = [{
'url': 'http://www.theoperaplatform.eu/de/opera/verdi-otello',
- 'md5': '
80f5d3fc97957b5dbfc1ddfde93b8098
',
+ 'md5': '
970655901fa2e82e04c00b955e9afe7b
',
'info_dict': {
'id': '060338-009-A',
'ext': 'mp4',
'info_dict': {
'id': '060338-009-A',
'ext': 'mp4',