diff --git a/modules/bforbank/pages.py b/modules/bforbank/pages.py index c5dbc346db81e4d54327d7a570b3053b027c3e4a..b1c9a98ecde8b3574e141b8489f84ef13d4d520a 100644 --- a/modules/bforbank/pages.py +++ b/modules/bforbank/pages.py @@ -22,9 +22,8 @@ from collections import OrderedDict import re from io import BytesIO + from PIL import Image -from urllib import urlencode -from urlparse import urlparse, urlunparse, parse_qsl, urljoin from weboob.browser.pages import LoggedPage, HTMLPage, pagination, AbstractPage from weboob.browser.elements import method, ListElement, ItemElement, TableElement @@ -34,6 +33,7 @@ CleanText, Regexp, Field, Map, CleanDecimal, Date, TableCell, ) from weboob.tools.capabilities.bank.transactions import FrenchTransaction +from weboob.tools.compat import urlencode, urlparse, urlunparse, parse_qsl, urljoin class BfBKeyboard(object): diff --git a/modules/spirica/pages.py b/modules/spirica/pages.py index d51c2d5e0a337c22f85273f49f99112b32e70d56..698dc2e5eef9a63d9bd99b0ea2c216d67bed7e69 100644 --- a/modules/spirica/pages.py +++ b/modules/spirica/pages.py @@ -17,7 +17,6 @@ # You should have received a copy of the GNU Affero General Public License # along with weboob. If not, see . -from urlparse import urljoin import re from weboob.browser.pages import HTMLPage, LoggedPage @@ -28,6 +27,7 @@ from weboob.capabilities.bank import Account, Investment, Transaction from weboob.capabilities.base import NotAvailable, empty from weboob.exceptions import BrowserUnavailable +from weboob.tools.compat import urljoin def MyDecimal(*args, **kwargs):