From 479ec54a8d9631215483f144c3d1b7ea830178b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Thu, 18 Feb 2016 21:29:07 +0600 Subject: [PATCH] [arte:magazine] Improve (Closes #8473) --- youtube_dl/extractor/arte.py | 9 ++------- 1 file 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.*?)/(?Pfr|de)/(?P.*?)' + _VALID_URL = r'https?://(?:www\.)?arte\.tv/magazine/[^/]+/(?Pfr|de|en|es)/(?P[^/?#&]+)' _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, }]