[seloger] fix bug on pagination
This commit is contained in:
parent
bd1688d72f
commit
0d148b9e47
1 changed files with 3 additions and 1 deletions
|
|
@ -68,7 +68,9 @@ class SearchResultsPage(XMLPage):
|
|||
item_xpath = "//annonce"
|
||||
|
||||
def next_page(self):
|
||||
return CleanText('//pageSuivante', default=None)(self)
|
||||
page = CleanText('//pageSuivante', default=None)(self)
|
||||
if page:
|
||||
return page
|
||||
|
||||
class item(SeLogerItem):
|
||||
def obj_photos(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue