Fix some imports issue
This commit is contained in:
parent
aa693d6106
commit
d9ed7c2ed2
2 changed files with 1 additions and 2 deletions
|
|
@ -22,7 +22,7 @@ from datetime import datetime, date, time
|
||||||
from decimal import Decimal
|
from decimal import Decimal
|
||||||
|
|
||||||
from weboob.tools.browser import BasePage
|
from weboob.tools.browser import BasePage
|
||||||
from weboob.capabilities.bill import Detail, Bill, Subscription
|
from weboob.capabilities.bill import Detail, Bill
|
||||||
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,6 @@ class HomePage(BasePage):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def get_list(self):
|
def get_list(self):
|
||||||
l = []
|
|
||||||
for divglobal in self.document.xpath('//div[@class="abonne"]'):
|
for divglobal in self.document.xpath('//div[@class="abonne"]'):
|
||||||
login = divglobal.xpath('//div[@class="acceuil_btn"]/a')[0].attrib['href'].split('l=')[1]
|
login = divglobal.xpath('//div[@class="acceuil_btn"]/a')[0].attrib['href'].split('l=')[1]
|
||||||
divabo = divglobal.xpath('div[@class="idAbonne pointer"]')[0]
|
divabo = divglobal.xpath('div[@class="idAbonne pointer"]')[0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue