Set Logged page
This commit is contained in:
parent
bb5af64b9f
commit
9155747fb9
1 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from weboob.capabilities.bill import Bill, Subscription
|
from weboob.capabilities.bill import Bill, Subscription
|
||||||
from weboob.tools.browser2 import HTMLPage
|
from weboob.tools.browser2 import HTMLPage, LoggedPage
|
||||||
from weboob.tools.browser2.filters import Filter, Attr, CleanText, Format, Field, Env
|
from weboob.tools.browser2.filters import Filter, Attr, CleanText, Format, Field, Env
|
||||||
from weboob.tools.browser2.page import ListElement, ItemElement, method
|
from weboob.tools.browser2.page import ListElement, ItemElement, method
|
||||||
|
|
||||||
|
|
@ -32,7 +32,7 @@ class FormId(Filter):
|
||||||
return formid
|
return formid
|
||||||
|
|
||||||
|
|
||||||
class BillsPage(HTMLPage):
|
class BillsPage(LoggedPage, HTMLPage):
|
||||||
@method
|
@method
|
||||||
class iter_account(ListElement):
|
class iter_account(ListElement):
|
||||||
item_xpath = '//ul[@class="unstyled striped"]/li'
|
item_xpath = '//ul[@class="unstyled striped"]/li'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue