[youtube] oopsie

This commit is contained in:
Mort Yao 2019-04-22 02:04:39 +02:00
parent 293252b361
commit e6202412c3
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -419,7 +419,7 @@ class YouTube(VideoExtractor):
streams = [dict([(i.split('=')[0],
parse.unquote(i.split('=')[1]))
for i in afmt.split('&')])
for afmt in ytplayer_config['args']['adaptive_fmts'][0].split(',')]
for afmt in ytplayer_config['args']['adaptive_fmts'].split(',')]
except:
streams = [dict([(i.split('=')[0],
parse.unquote(i.split('=')[1]))