forgot to git add that in previous commit
This commit is contained in:
parent
67aac80c00
commit
cd0815a5ff
1 changed files with 1 additions and 3 deletions
|
|
@ -36,9 +36,7 @@ class DisplayPage(BasePage):
|
||||||
url=src)
|
url=src)
|
||||||
|
|
||||||
def page_list(self):
|
def page_list(self):
|
||||||
l = self.document.xpath("//select[@onchange='change_page(this)']")[0]
|
return self.document.xpath("(//select[@onchange='change_page(this)'])[1]/option/@value")
|
||||||
l = l.xpath("./option/@value")
|
|
||||||
return l
|
|
||||||
|
|
||||||
class MangafoxBrowser(BaseBrowser):
|
class MangafoxBrowser(BaseBrowser):
|
||||||
PAGES = { r'http://.+\.mangafox.\w+/manga/[^/]+/[^/]+/([^/]+/)?.+\.html': DisplayPage }
|
PAGES = { r'http://.+\.mangafox.\w+/manga/[^/]+/[^/]+/([^/]+/)?.+\.html': DisplayPage }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue