diff --git a/weboob/browser/pages.py b/weboob/browser/pages.py index 48741c39..5f4c1751 100644 --- a/weboob/browser/pages.py +++ b/weboob/browser/pages.py @@ -203,6 +203,12 @@ class Page(object): """ return None + def absurl(self, url): + """ + Get an absolute URL from an a partial URL, relative to the Page URL + """ + return urlparse.urljoin(self.url, url) + class FormNotFound(Exception): """