[patreon] include subdomains in 'session_id' cookie check (#7188)
This commit is contained in:
@@ -27,7 +27,7 @@ class PatreonExtractor(Extractor):
|
|||||||
_warning = True
|
_warning = True
|
||||||
|
|
||||||
def _init(self):
|
def _init(self):
|
||||||
if not self.cookies_check(("session_id",)):
|
if not self.cookies_check(("session_id",), subdomains=True):
|
||||||
if self._warning:
|
if self._warning:
|
||||||
PatreonExtractor._warning = False
|
PatreonExtractor._warning = False
|
||||||
self.log.warning("no 'session_id' cookie set")
|
self.log.warning("no 'session_id' cookie set")
|
||||||
|
|||||||
Reference in New Issue
Block a user