[theoperaplatform] Add extractor
This commit is contained in:
parent
ea8aefd1d7
commit
9c4258bcec
2 changed files with 17 additions and 0 deletions
|
@ -410,6 +410,22 @@ class ArteTVEmbedIE(ArteTVPlus7IE):
|
||||||
return self._extract_from_json_url(json_url, video_id, lang)
|
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>[^/?#&]+)'
|
||||||
|
|
||||||
|
_TESTS = [{
|
||||||
|
'url': 'http://www.theoperaplatform.eu/de/opera/verdi-otello',
|
||||||
|
'md5': '80f5d3fc97957b5dbfc1ddfde93b8098',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '060338-009-A',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'Verdi - OTELLO',
|
||||||
|
'upload_date': '20160927',
|
||||||
|
},
|
||||||
|
}]
|
||||||
|
|
||||||
|
|
||||||
class ArteTVPlaylistIE(ArteTVBaseIE):
|
class ArteTVPlaylistIE(ArteTVBaseIE):
|
||||||
IE_NAME = 'arte.tv:playlist'
|
IE_NAME = 'arte.tv:playlist'
|
||||||
_VALID_URL = r'https?://(?:www\.)?arte\.tv/guide/(?P<lang>fr|de|en|es)/[^#]*#collection/(?P<id>PL-\d+)'
|
_VALID_URL = r'https?://(?:www\.)?arte\.tv/guide/(?P<lang>fr|de|en|es)/[^#]*#collection/(?P<id>PL-\d+)'
|
||||||
|
|
|
@ -66,6 +66,7 @@ from .arte import (
|
||||||
ArteTVDDCIE,
|
ArteTVDDCIE,
|
||||||
ArteTVMagazineIE,
|
ArteTVMagazineIE,
|
||||||
ArteTVEmbedIE,
|
ArteTVEmbedIE,
|
||||||
|
ArteTVOperaPlatformIE,
|
||||||
ArteTVPlaylistIE,
|
ArteTVPlaylistIE,
|
||||||
)
|
)
|
||||||
from .atresplayer import AtresPlayerIE
|
from .atresplayer import AtresPlayerIE
|
||||||
|
|
Loading…
Reference in a new issue