mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
[youtube] fix display of swf player id
This commit is contained in:
parent
a5d524ef46
commit
b8c74d606a
1 changed files with 1 additions and 1 deletions
|
@ -834,7 +834,7 @@ def _map_to_format_list(urlmap):
|
|||
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:
|
||||
|
|
Loading…
Reference in a new issue