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)
|
||||
|
||||
def page_list(self):
|
||||
l = self.document.xpath("//select[@onchange='change_page(this)']")[0]
|
||||
l = l.xpath("./option/@value")
|
||||
return l
|
||||
return self.document.xpath("(//select[@onchange='change_page(this)'])[1]/option/@value")
|
||||
|
||||
class MangafoxBrowser(BaseBrowser):
|
||||
PAGES = { r'http://.+\.mangafox.\w+/manga/[^/]+/[^/]+/([^/]+/)?.+\.html': DisplayPage }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue