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:
|
except Exception as e:
|
||||||
raise ExtractorError(str(e), expected=True)
|
raise ExtractorError(str(e), expected=True)
|
||||||
if json_info.get("status") != 200:
|
if json_info.get('status') != 200:
|
||||||
raise ExtractorError("Json download error. Status code: %s" % str(json_info.get("status")), expected=True)
|
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'][
|
m3u8_url = json_info['data']['playlist']['medialist'][0]['sources']['m3u8'][
|
||||||
'auto'
|
'auto'
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user