[arte:magazine] Improve (Closes #8473)

This commit is contained in:
Sergey M․ 2016-02-18 21:29:07 +06:00
parent 49625662a9
commit 479ec54a8d

View File

@ -291,7 +291,7 @@ class ArteTVCinemaIE(ArteTVPlus7IE):
class ArteTVMagazineIE(ArteTVPlus7IE): class ArteTVMagazineIE(ArteTVPlus7IE):
IE_NAME = 'arte.tv:magazine' IE_NAME = 'arte.tv:magazine'
_VALID_URL = r'https?://(?:www\.)?arte\.tv/magazine/(?P<name>.*?)/(?P<lang>fr|de)/(?P<id>.*?)' _VALID_URL = r'https?://(?:www\.)?arte\.tv/magazine/[^/]+/(?P<lang>fr|de|en|es)/(?P<id>[^/?#&]+)'
_TESTS = [{ _TESTS = [{
'url': 'http://www.arte.tv/magazine/trepalium/fr/entretien-avec-le-realisateur-vincent-lannoo-trepalium', 'url': 'http://www.arte.tv/magazine/trepalium/fr/entretien-avec-le-realisateur-vincent-lannoo-trepalium',
@ -303,12 +303,7 @@ class ArteTVMagazineIE(ArteTVPlus7IE):
}, },
}, { }, {
'url': 'http://www.arte.tv/magazine/metropolis/de/frank-woeste-german-paris-metropolis', 'url': 'http://www.arte.tv/magazine/metropolis/de/frank-woeste-german-paris-metropolis',
'md5': '53185a2b4876383552c037c21aeca8f7', 'only_matching': True,
'info_dict': {
'id': '066149-000-A',
'ext': 'mp4',
'title': 'Bonus: Frank Woeste - ein deutscher Jazzmusiker in Paris',
},
}] }]