Browse Source

Improve swf player URL detection for RTMP (fixes issue #144)

master
Ricardo Garcia 14 years ago
parent
commit
823fcda12a
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube-dl

2
youtube-dl

@ -847,7 +847,7 @@ class YoutubeIE(InfoExtractor):
return return
# Attempt to extract SWF player URL # Attempt to extract SWF player URL
mobj = re.search(r'swfConfig.*"(http://.*?watch-.*?\.swf)"', video_webpage)
mobj = re.search(r'swfConfig.*"(http://.*?watch.*?-.*?\.swf)"', video_webpage)
if mobj is not None: if mobj is not None:
player_url = mobj.group(1) player_url = mobj.group(1)
else: else:

Loading…
Cancel
Save