1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 11:41:52 +00:00

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

This commit is contained in:
Ricardo Garcia 2010-07-13 18:22:34 +02:00
parent f2413e6793
commit 823fcda12a

View file

@ -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: