[arte:magazine] Improve (Closes #8473)

This commit is contained in:
Sergey M․ 2016-02-18 21:29:07 +06:00
parent 49625662a9
commit 479ec54a8d
1 changed files with 2 additions and 7 deletions

View File

@ -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,
}]