projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3906e6c
)
Correct comedycentral flash URL regex
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 4 Jan 2012 23:39:47 +0000
(
00:39
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 4 Jan 2012 23:39:47 +0000
(
00:39
+0100)
youtube_dl/__init__.py
patch
|
blob
|
history
diff --git
a/youtube_dl/__init__.py
b/youtube_dl/__init__.py
index 00d37dc706c11d79f7ee2e43255c0650d736ec20..2404e2359ced09d34dcdb06245998de7e9458cf7 100755
(executable)
--- 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