Skip to content

Commit

Permalink
Fix tds RTMP url extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
phihag committed Jan 4, 2012
1 parent d6639d0 commit c7d3c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/__init__.py
Expand Up @@ -3151,7 +3151,7 @@ def _real_extract(self, url):
return
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:
self._downloader.trouble(u'ERROR: unable to find Flash URL in webpage ' + url)
return
Expand Down

0 comments on commit c7d3c3d

Please sign in to comment.