Don't download the same page several times
This commit is contained in:
parent
9c54ca4b92
commit
6caeb19312
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class DisplayPage(BasePage):
|
|||
url=src)
|
||||
|
||||
def page_list(self):
|
||||
return self.document.xpath("//select[@onchange='change_page(this)']/option/attribute::value")
|
||||
return self.document.xpath("//select[@onchange='change_page(this)'][1]/option/attribute::value")
|
||||
|
||||
class MangafoxBrowser(BaseBrowser):
|
||||
PAGES = { r'http://.+\.mangafox.\w+/manga/[^/]+/[^/]+/[^/]+/.+\.html': DisplayPage }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue