[hentaifoundry] do not update filters when cookies are provided

This commit is contained in:
Mike Fährmann
2023-04-13 14:16:53 +02:00
parent 9c29c904c7
commit e70af6a550

View File

@@ -123,6 +123,9 @@ class HentaifoundryExtractor(Extractor):
def _init_site_filters(self):
"""Set site-internal filters to show all images"""
if self.session.cookies.get("PHPSESSID", domain=self.cookiedomain):
return
url = self.root + "/?enterAgree=1"
self.request(url, method="HEAD")