about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2012-01-05 00:39:47 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2012-01-05 00:39:47 +0100
commitc92e184f751a3b58b5a6fbf090f4882932e5bd4b (patch)
treec6ea2741cbc5f70b985cf8eda1f7984c50ff4f78
parent3906e6ce6001d4dece9596284edc75dff4502497 (diff)
downloadyoutube-dl-c92e184f751a3b58b5a6fbf090f4882932e5bd4b.tar.gz
youtube-dl-c92e184f751a3b58b5a6fbf090f4882932e5bd4b.tar.xz
youtube-dl-c92e184f751a3b58b5a6fbf090f4882932e5bd4b.zip
Correct comedycentral flash URL regex
-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 00d37dc70..2404e2359 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=")|(?:var url = ")(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