[arte:magazine] Add extractor

This commit is contained in:
Thomas Jost 2016-02-08 22:17:21 +01:00 committed by Sergey M․
parent 8b809a079a
commit 49625662a9
2 changed files with 24 additions and 0 deletions

View file

@ -45,6 +45,7 @@
ArteTVFutureIE, ArteTVFutureIE,
ArteTVCinemaIE, ArteTVCinemaIE,
ArteTVDDCIE, ArteTVDDCIE,
ArteTVMagazineIE,
ArteTVEmbedIE, ArteTVEmbedIE,
) )
from .atresplayer import AtresPlayerIE from .atresplayer import AtresPlayerIE

View file

@ -289,6 +289,29 @@ class ArteTVCinemaIE(ArteTVPlus7IE):
} }
class ArteTVMagazineIE(ArteTVPlus7IE):
IE_NAME = 'arte.tv:magazine'
_VALID_URL = r'https?://(?:www\.)?arte\.tv/magazine/(?P<name>.*?)/(?P<lang>fr|de)/(?P<id>.*?)'
_TESTS = [{
'url': 'http://www.arte.tv/magazine/trepalium/fr/entretien-avec-le-realisateur-vincent-lannoo-trepalium',
'md5': '66a093339c1278bb3719157ef07107b2',
'info_dict': {
'id': '065965-000-A',
'ext': 'mp4',
'title': 'Trepalium - Extrait Ep.01',
},
}, {
'url': 'http://www.arte.tv/magazine/metropolis/de/frank-woeste-german-paris-metropolis',
'md5': '53185a2b4876383552c037c21aeca8f7',
'info_dict': {
'id': '066149-000-A',
'ext': 'mp4',
'title': 'Bonus: Frank Woeste - ein deutscher Jazzmusiker in Paris',
},
}]
class ArteTVEmbedIE(ArteTVPlus7IE): class ArteTVEmbedIE(ArteTVPlus7IE):
IE_NAME = 'arte.tv:embed' IE_NAME = 'arte.tv:embed'
_VALID_URL = r'''(?x) _VALID_URL = r'''(?x)