[webtoons] update agegate/GDPR cookies
This commit is contained in:
@@ -23,10 +23,14 @@ class WebtoonsExtractor(Extractor):
|
|||||||
Extractor.__init__(self, match)
|
Extractor.__init__(self, match)
|
||||||
self.path, self.lang, self.genre , self.comic, self.query = \
|
self.path, self.lang, self.genre , self.comic, self.query = \
|
||||||
match.groups()
|
match.groups()
|
||||||
cookies = self.session.cookies
|
self._update_cookies({
|
||||||
cookies.set("pagGDPR", "true", domain=self.cookiedomain)
|
"atGDPR" : "AD_CONSENT",
|
||||||
cookies.set("rstagGDPR_DE", "true", domain=self.cookiedomain)
|
"needCCPA" : "false",
|
||||||
cookies.set("ageGatePass", "true", domain=self.cookiedomain)
|
"needCOPPA" : "false",
|
||||||
|
"needGDPR" : "false",
|
||||||
|
"pagGDPR" : "true",
|
||||||
|
"ageGatePass": "true",
|
||||||
|
})
|
||||||
|
|
||||||
def request(self, url, **kwargs):
|
def request(self, url, **kwargs):
|
||||||
response = Extractor.request(self, url, **kwargs)
|
response = Extractor.request(self, url, **kwargs)
|
||||||
|
|||||||
Reference in New Issue
Block a user