0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-23 02:25:11 +00:00

[youtube] Fix player ID display

This commit is contained in:
Philipp Hagemeister 2014-07-25 06:49:26 +02:00
parent 916c145217
commit b081cebefa

View file

@ -836,7 +836,8 @@ def _map_to_format_list(urlmap):
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