diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-18 21:29:07 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-18 21:29:07 +0600 |
commit | 479ec54a8d9631215483f144c3d1b7ea830178b5 (patch) | |
tree | 8891ae91928f53f92d093278731c53837a7ff317 /youtube_dl | |
parent | 49625662a94bec2d289ed831f7e024c4c43098fd (diff) |
[arte:magazine] Improve (Closes #8473)
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/arte.py | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py index b524866d9..3337d0085 100644 --- a/youtube_dl/extractor/arte.py +++ b/youtube_dl/extractor/arte.py @@ -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, }] |