]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Fix tds RTMP url extraction
authorPhilipp Hagemeister <phihag@phihag.de>
Wed, 4 Jan 2012 13:08:17 +0000 (14:08 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Wed, 4 Jan 2012 13:08:17 +0000 (14:08 +0100)
youtube_dl/__init__.py

index 2522e023313c28e4c79bee9c30592564397b5be9..298924afa6b14652486445f36d6c72968a607d1c 100755 (executable)
@@ -3151,7 +3151,7 @@ class ComedyCentralIE(InfoExtractor):
                                return
                        epTitle = mobj.group('episode')
 
-               mMovieParams = re.findall('<param name="movie" value="(http://media.mtvnservices.com/([^"]*episode.*?:.*?))"/>', html)
+               mMovieParams = re.findall('(?:<param name="movie" value=")|(?:var url = ")(http://media.mtvnservices.com/([^"]*episode.*?:.*?))"', html)
                if len(mMovieParams) == 0:
                        self._downloader.trouble(u'ERROR: unable to find Flash URL in webpage ' + url)
                        return