Browse Source

[youtube] Fix player ID display

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

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

@ -836,7 +836,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
player_desc = 'flash player %s' % player_version
else:
player_version = self._search_regex(
r'html5player-(.+?)\.js', video_webpage,
r'html5player-([^/]+?)(?:/html5player)?\.js',
player_url,
'html5 player', fatal=False)
player_desc = u'html5 player %s' % player_version


Loading…
Cancel
Save