summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/adultempire.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/adultempire.py')
-rw-r--r--gallery_dl/extractor/adultempire.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gallery_dl/extractor/adultempire.py b/gallery_dl/extractor/adultempire.py
index 1617414..c891b17 100644
--- a/gallery_dl/extractor/adultempire.py
+++ b/gallery_dl/extractor/adultempire.py
@@ -24,6 +24,9 @@ class AdultempireGalleryExtractor(GalleryExtractor):
GalleryExtractor.__init__(self, match)
self.gallery_id = match.group(2)
+ def _init(self):
+ self.cookies.set("ageConfirmed", "true", domain="www.adultempire.com")
+
def metadata(self, page):
extr = text.extract_from(page, page.index('<div id="content">'))
return {