Use a more relaxed regex for video links

This commit is contained in:
Christophe de Vienne 2018-01-22 16:56:18 +01:00
parent 202846d5c7
commit 8d1e047e86

View File

@ -35,7 +35,7 @@ class MyTaratataIE(InfoExtractor):
formats = [] formats = []
video_source_re = re.compile( video_source_re = re.compile(
r'<div [^>]*class="jwplayer" [^\>]*data-source="(?P<url>https?://.*/Taratata[^"]+\.mp4)"' r'<div [^>]*class="jwplayer" [^\>]*data-source="(?P<url>[^"]+)"'
) )
# The first videos are the live videos, coming in 2 formats. The next videos are # The first videos are the live videos, coming in 2 formats. The next videos are