@@ -482,7 +482,6 @@ class ExhentaiSearchExtractor(ExhentaiExtractor):
|
|||||||
|
|
||||||
def __init__(self, match):
|
def __init__(self, match):
|
||||||
ExhentaiExtractor.__init__(self, match)
|
ExhentaiExtractor.__init__(self, match)
|
||||||
self.search_url = self.root
|
|
||||||
|
|
||||||
_, query, tag = match.groups()
|
_, query, tag = match.groups()
|
||||||
if tag:
|
if tag:
|
||||||
@@ -497,6 +496,9 @@ class ExhentaiSearchExtractor(ExhentaiExtractor):
|
|||||||
if "next" not in self.params:
|
if "next" not in self.params:
|
||||||
self.params["page"] = text.parse_int(self.params.get("page"))
|
self.params["page"] = text.parse_int(self.params.get("page"))
|
||||||
|
|
||||||
|
def _init(self):
|
||||||
|
self.search_url = self.root
|
||||||
|
|
||||||
def items(self):
|
def items(self):
|
||||||
self.login()
|
self.login()
|
||||||
data = {"_extractor": ExhentaiGalleryExtractor}
|
data = {"_extractor": ExhentaiGalleryExtractor}
|
||||||
@@ -542,6 +544,5 @@ class ExhentaiFavoriteExtractor(ExhentaiSearchExtractor):
|
|||||||
"&f_apply=Search+Favorites"),
|
"&f_apply=Search+Favorites"),
|
||||||
)
|
)
|
||||||
|
|
||||||
def __init__(self, match):
|
def _init(self):
|
||||||
ExhentaiSearchExtractor.__init__(self, match)
|
|
||||||
self.search_url = self.root + "/favorites.php"
|
self.search_url = self.root + "/favorites.php"
|
||||||
|
|||||||
Reference in New Issue
Block a user