]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Fix MyVideo IE
authorPhilipp Hagemeister <phihag@phihag.de>
Mon, 18 Feb 2013 21:32:56 +0000 (22:32 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Mon, 18 Feb 2013 21:32:56 +0000 (22:32 +0100)
youtube_dl/InfoExtractors.py

index 627329ecd3848e8c15e1d9505c66880b2aff7e0c..d7ddf4e37b1a8e1103391ac3cc1aeed483d584c2 100755 (executable)
@@ -2233,7 +2233,7 @@ class MyVideoIE(InfoExtractor):
         webpage = self._download_webpage(webpage_url, video_id)
 
         self.report_extraction(video_id)
-        mobj = re.search(r'<link rel=\'image_src\' href=\'(http://is[0-9].myvideo\.de/de/movie[0-9]+/[a-f0-9]+)/thumbs/[^.]+\.jpg\' />',
+        mobj = re.search(r'<link rel=\'image_src\' href=\'(http://is[0-9].myvideo\.de/de/movie[0-9]+/[a-f0-9]+)/thumbs/.*?\.jpg\' />',
                  webpage)
         if mobj is None:
             self._downloader.trouble(u'ERROR: unable to extract media URL')