[extractor/kick] Make initial request non-fatal

Authored by: bashonly
pull/6762/head
bashonly 2023-04-08 11:09:05 -05:00
rodzic 141a8dff98
commit 0a6918a4a1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 783F096F253D15B0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -14,7 +14,7 @@ from ..utils import (
class KickBaseIE(InfoExtractor):
def _real_initialize(self):
self._request_webpage(HEADRequest('https://kick.com/'), None, 'Setting up session')
self._request_webpage(HEADRequest('https://kick.com/'), None, 'Setting up session', fatal=False)
xsrf_token = self._get_cookies('https://kick.com/').get('XSRF-TOKEN')
if not xsrf_token:
self.write_debug('kick.com did not set XSRF-TOKEN cookie')