diff --git a/modules/boursorama/pages/account_history.py b/modules/boursorama/pages/account_history.py index 70537520..7a55c693 100644 --- a/modules/boursorama/pages/account_history.py +++ b/modules/boursorama/pages/account_history.py @@ -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')