add fatal to _call_api

This commit is contained in:
Mozi 2024-10-18 16:07:26 +00:00
parent dcc4a1672b
commit 3585397c7f
1 changed files with 2 additions and 2 deletions

View File

@ -117,9 +117,9 @@ class FifaBaseIE(InfoExtractor):
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):