do not crash on stockfunds pages
This commit is contained in:
parent
f9f0bc26b0
commit
1a971eae6b
1 changed files with 3 additions and 0 deletions
|
|
@ -145,6 +145,9 @@ class Cragr(BaseBrowser):
|
|||
self.logger.debug('going on: %s' % history_url)
|
||||
self.location('https://%s%s' % (self.DOMAIN, history_url))
|
||||
|
||||
if self.page is None:
|
||||
return
|
||||
|
||||
# Some regions have a "Show more" (well, actually "Voir les 25
|
||||
# suivants") link we have to use to get all the operations.
|
||||
# However, it does not show only the 25 next results, it *adds* them
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue