1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-09-29 22:08:45 +02:00

Fix tds RTMP url extraction

This commit is contained in:
Philipp Hagemeister 2012-01-04 14:08:17 +01:00
parent d6639d05c2
commit c7d3c3db0d

View File

@ -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