Fix paging on new website
This commit is contained in:
parent
c0e4609ee1
commit
1928f2a500
1 changed files with 2 additions and 2 deletions
|
|
@ -83,11 +83,11 @@ class AccountHistory(BasePage):
|
|||
return self.operations
|
||||
|
||||
def get_next_url(self):
|
||||
items = self.document.getroot().cssselect('ul.mainmenu li')
|
||||
items = self.document.getroot().cssselect('ul.menu-lvl-0 li')
|
||||
|
||||
current = False
|
||||
for li in reversed(items):
|
||||
if li.attrib.get('class', '') == 'selected':
|
||||
if li.attrib.get('class', '') == 'active':
|
||||
current = True
|
||||
elif current:
|
||||
a = li.find('a')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue