aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-01-04 14:08:17 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-01-04 14:08:17 +0100
commitc7d3c3db0d7745010ba1f2a57ba7cc5c24cadaf6 (patch)
tree7077617d521fabf8e80e2c65b04400badf9b5485
parentd6639d05c205953cd5f3d45e26946477b2cdc735 (diff)
Fix tds RTMP url extraction
-rwxr-xr-xyoutube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 2522e0233..298924afa 100755
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -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