aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-07-20 20:20:42 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-07-20 20:20:42 +0200
commitb8c74d606aff4a325cdcc951df99495690f40054 (patch)
tree569fd9484eeb6a9c0e30cfb082f3e01108c58b9b /youtube_dl/extractor/youtube.py
parenta5d524ef4676062335303ad249cc35a1a237ad07 (diff)
[youtube] fix display of swf player id
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 623056bd9..6e77504bf 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -834,7 +834,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
else:
if player_url.endswith('swf'):
player_version = self._search_regex(
- r'-(.+)\.swf$', player_url,
+ r'-(.+?)(?:/watch_as3)?\.swf$', player_url,
u'flash player', fatal=False)
player_desc = 'flash player %s' % player_version
else: