do not follow spam links
This commit is contained in:
parent
847c91b1b3
commit
e1eb1b80af
2 changed files with 10 additions and 9 deletions
|
|
@ -140,8 +140,7 @@ class Cragr(BaseBrowser):
|
|||
accounts_list.extend(self.page.get_list())
|
||||
|
||||
# credit cards
|
||||
cards_page = self.page.cards_page()
|
||||
if cards_page:
|
||||
for cards_page in self.page.cards_pages():
|
||||
self.location(cards_page)
|
||||
assert self.is_on_page(CardsPage)
|
||||
accounts_list.extend(self.page.get_list())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue