[arte:magazine] Improve (Closes #8473)

pull/8/head
Sergey M․ 2016-02-18 21:29:07 +06:00
rodzic 49625662a9
commit 479ec54a8d
1 zmienionych plików z 2 dodań i 7 usunięć

Wyświetl plik

@ -291,7 +291,7 @@ 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>.*?)'
_VALID_URL = r'https?://(?:www\.)?arte\.tv/magazine/[^/]+/(?P<lang>fr|de|en|es)/(?P<id>[^/?#&]+)'
_TESTS = [{
'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',
'md5': '53185a2b4876383552c037c21aeca8f7',
'info_dict': {
'id': '066149-000-A',
'ext': 'mp4',
'title': 'Bonus: Frank Woeste - ein deutscher Jazzmusiker in Paris',
},
'only_matching': True,
}]