Browse Source

[youtube] fix display of swf player id

totalwebcasting
Philipp Hagemeister 10 years ago
parent
commit
b8c74d606a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/youtube.py

+ 1
- 1
youtube_dl/extractor/youtube.py View File

@ -834,7 +834,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
else: else:
if player_url.endswith('swf'): if player_url.endswith('swf'):
player_version = self._search_regex( player_version = self._search_regex(
r'-(.+)\.swf$', player_url,
r'-(.+?)(?:/watch_as3)?\.swf$', player_url,
u'flash player', fatal=False) u'flash player', fatal=False)
player_desc = 'flash player %s' % player_version player_desc = 'flash player %s' % player_version
else: else:


Loading…
Cancel
Save