Browse Source

Fix tds RTMP url extraction

rtmp_test
Philipp Hagemeister 13 years ago
parent
commit
c7d3c3db0d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/__init__.py

+ 1
- 1
youtube_dl/__init__.py View File

@ -3151,7 +3151,7 @@ class ComedyCentralIE(InfoExtractor):
return return
epTitle = mobj.group('episode') 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: 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…
Cancel
Save