Skip to content

Commit

Permalink
Correct comedycentral flash URL regex
Browse files Browse the repository at this point in the history
  • Loading branch information
phihag committed Jan 4, 2012
1 parent 3906e6c commit c92e184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3151,7 +3151,7 @@ def _real_extract(self, url):
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
Expand Down

0 comments on commit c92e184

Please sign in to comment.