|
|
@ -35,9 +35,12 @@ class ExhentaiExtractor(Extractor):
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, match):
|
|
|
|
def __init__(self, match):
|
|
|
|
version = match.group(1)
|
|
|
|
version = match.group(1)
|
|
|
|
if version != "ex":
|
|
|
|
domain = self.config("domain", "auto")
|
|
|
|
self.root = "https://e-hentai.org"
|
|
|
|
if domain == "auto":
|
|
|
|
self.cookiedomain = ".e-hentai.org"
|
|
|
|
domain = ("ex" if version == "ex" else "e-") + "hentai.org"
|
|
|
|
|
|
|
|
self.root = "https://" + domain
|
|
|
|
|
|
|
|
self.cookiedomain = "." + domain
|
|
|
|
|
|
|
|
|
|
|
|
Extractor.__init__(self, match)
|
|
|
|
Extractor.__init__(self, match)
|
|
|
|
self.limits = self.config("limits", True)
|
|
|
|
self.limits = self.config("limits", True)
|
|
|
|
self.original = self.config("original", True)
|
|
|
|
self.original = self.config("original", True)
|
|
|
|