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

pull/8/head
Ricardo Garcia 2010-07-13 18:22:34 +02:00
rodzic f2413e6793
commit 823fcda12a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -847,7 +847,7 @@ class YoutubeIE(InfoExtractor):
return
# 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:
player_url = mobj.group(1)
else: