fix(imagebam): update cookies to bypass guard page

Signed-off-by: Benjamin VERGNAUD <ben@bvergnaud.fr>
This commit is contained in:
Benjamin VERGNAUD
2025-08-25 23:44:57 +02:00
parent ba5c080f0b
commit 8d1c79c2b2

View File

@@ -23,6 +23,7 @@ class ImagebamExtractor(Extractor):
def _init(self):
self.cookies.set("nsfw_inter", "1", domain="www.imagebam.com")
self.cookies.set("sfw_inter", "1", domain="www.imagebam.com")
def _parse_image_page(self, path):
page = self.request(self.root + path).text