mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 05:47:24 +01:00
add fatal to _call_api
This commit is contained in:
parent
dcc4a1672b
commit
3585397c7f
@ -117,9 +117,9 @@ def _preconnect_link(self):
|
||||
r'<link\b[^>]+\brel\s*=\s*"preconnect"[^>]+href\s*=\s*"([^"]+)"',
|
||||
self._download_webpage('https://fifa.com/', None), 'Preconnect Link')
|
||||
|
||||
def _call_api(self, path, video_id, note=None, query=None):
|
||||
def _call_api(self, path, video_id, note=None, query=None, fatal=True):
|
||||
return self._download_json(
|
||||
f'{self._preconnect_link}/{path}', video_id, note, query=query)
|
||||
f'{self._preconnect_link}/{path}', video_id, note, query=query, fatal=fatal)
|
||||
|
||||
|
||||
class FifaIE(FifaBaseIE):
|
||||
|
Loading…
Reference in New Issue
Block a user