mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-15 00:48:28 +00:00
Fix double quotes
This commit is contained in:
parent
a8c799a13c
commit
fd8503cb53
@ -101,8 +101,8 @@ def _real_extract(self, url):
|
||||
)
|
||||
except Exception as e:
|
||||
raise ExtractorError(str(e), expected=True)
|
||||
if json_info.get("status") != 200:
|
||||
raise ExtractorError("Json download error. Status code: %s" % str(json_info.get("status")), expected=True)
|
||||
if json_info.get('status') != 200:
|
||||
raise ExtractorError('Json download error. Status code: %s' % str(json_info.get('status')), expected=True)
|
||||
m3u8_url = json_info['data']['playlist']['medialist'][0]['sources']['m3u8'][
|
||||
'auto'
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user