mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-16 22:28:18 +01:00
[youtube] Fix player ID display
This commit is contained in:
parent
916c145217
commit
b081cebefa
@ -836,7 +836,8 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
|
|||||||
player_desc = 'flash player %s' % player_version
|
player_desc = 'flash player %s' % player_version
|
||||||
else:
|
else:
|
||||||
player_version = self._search_regex(
|
player_version = self._search_regex(
|
||||||
r'html5player-(.+?)\.js', video_webpage,
|
r'html5player-([^/]+?)(?:/html5player)?\.js',
|
||||||
|
player_url,
|
||||||
'html5 player', fatal=False)
|
'html5 player', fatal=False)
|
||||||
player_desc = u'html5 player %s' % player_version
|
player_desc = u'html5 player %s' % player_version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user