mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-24 08:45:27 +00:00
Correct comedycentral flash URL regex
This commit is contained in:
parent
3906e6ce60
commit
c92e184f75
1 changed files with 1 additions and 1 deletions
|
@ -3151,7 +3151,7 @@ class ComedyCentralIE(InfoExtractor):
|
||||||
return
|
return
|
||||||
epTitle = mobj.group('episode')
|
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:
|
if len(mMovieParams) == 0:
|
||||||
self._downloader.trouble(u'ERROR: unable to find Flash URL in webpage ' + url)
|
self._downloader.trouble(u'ERROR: unable to find Flash URL in webpage ' + url)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue