From 202846d5c70d2eb1a1bd3817eb577e6049ea10bb Mon Sep 17 00:00:00 2001 From: Christophe de Vienne Date: Mon, 15 Jan 2018 09:40:44 +0100 Subject: [PATCH] [mytaratata] Use more relaxed regex --- youtube_dl/extractor/mytaratata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/mytaratata.py b/youtube_dl/extractor/mytaratata.py index e21972249..542653a7d 100644 --- a/youtube_dl/extractor/mytaratata.py +++ b/youtube_dl/extractor/mytaratata.py @@ -18,7 +18,7 @@ class MyTaratataIE(InfoExtractor): 'title': 'TARATATA N°519 - Shaka Ponk / Camille et Julie Berthollet "Smells Like Teen Spirit" (Nirvana)', 'uploader': 'Taratata', 'description': 'Shaka Ponk / Camille et Julie Berthollet "Smells Like Teen Spirit" (Nirvana)', - 'thumbnail': 'http://static.mytaratata.com/content/image/5a2562a1a5ee5.jpeg', + 'thumbnail': 're:https?://.*\.jpeg$', } } @@ -35,7 +35,7 @@ class MyTaratataIE(InfoExtractor): formats = [] video_source_re = re.compile( - r'data-source="(?Phttp://[^/]*/mytaratata/Taratata[^"]+\.mp4)"' + r'
]*class="jwplayer" [^\>]*data-source="(?Phttps?://.*/Taratata[^"]+\.mp4)"' ) # The first videos are the live videos, coming in 2 formats. The next videos are