- Feb 24, 2019
-
-
-
Romain Bignon authored
-
- Nov 10, 2018
-
-
- Oct 09, 2018
-
-
python3 requires str, but python2 requires bytes.
-
- Jun 09, 2018
-
-
Romain Bignon authored
-
- May 05, 2018
-
-
The '|' in xpath list all matched elements. Add xpath function to get only the first non empty element like 'or' statement
-
- Mar 03, 2018
-
-
LoginPage is rather a mixin, since subclassing LoginPage will most likely require to subclass a Page class anyway (like HTMLPage). Should help fixing https://git.weboob.org/weboob/devel/issues/100 and https://git.weboob.org/weboob/stable/issues/4.
-
-
- Jan 14, 2018
-
-
- Dec 03, 2017
-
-
It works like re.search. The flags parameter is not supported yet.
-
- Sep 21, 2017
-
-
- Aug 30, 2017
-
-
- Jul 08, 2017
-
-
object.__new__ only takes one argument: the class to construct. It accepts more arguments only if __init__ is not overloaded, but it is overloaded in Abstract*'s parent classes, so don't pass more args. In Python 2, it was just deprecated, in Python 3, it doesn't work.
-
The use of metaclass is not required for constructing the dict of URLs. Plus, it prevents changing the class hierarchy at runtime, which could be an improvement for AbstractBrowser.
-
This reverts commit d0a2a6bbe3054a4cb34cf8d5b0bac7e93ac3d509.
-
- Jun 19, 2017
-
-
hydrargyrum authored
raise_from wraps the Python3 syntax "raise exc from cause" which is useful when an exception is raised to wrap a lower-level exception.
-
hydrargyrum authored
-
hydrargyrum authored
Some functions changed return type from python2 to python3 TODO: not everything is tested, a full review is needed + run is needed
-
hydrargyrum authored
-
hydrargyrum authored
With: futurize -w -1 weboob
-
hydrargyrum authored
-
- Jan 28, 2017
-
-
PartialHTMLPage tries to use vanilla HTMLPage first, then resorts to encapsulate content in a fake root. However, with empty (or whitespace only) content, lxml raises an AssertionError. Just skip HTMLPage in this case.
-
- Jan 25, 2017
-
-
Since Python 2.7 is the minimum version supported, collections.OrderedDict is guaranteed to exist and there is no need to reimplement it.
-
- Jan 21, 2017
-
-
- Dec 24, 2016
-
-
Some requests return partial HTML, that should be inserted in an existing HTML body, but it can't be parsed with HTMLPage since it may contain multiple roots. This new Page type just encapsulates the whole content in a <html> tag in case of parsing error.
-
When instanciating an abstract page, instead of creating a dynamic type, we tweak the class inheritance and use normal instanciation. This fixes URL.is_here().
-
- Dec 14, 2016
-
-
Vincent Ardisson authored
-
- Dec 03, 2016
-
-
this enables to modify the request object of the form
-
- Dec 02, 2016
-
-
Phyks (Lucas Verney) authored
Signed-off-by: Phyks (Lucas Verney) <phyks@phyks.me>
-
- Nov 27, 2016
-
-
Florent Fourcot authored
Do like AbstractBrowser
-
Florent Fourcot authored
This is the same fix than commit "fix parent missing detection and donwload" (c6cf2b81), but factorized.
-
- Oct 25, 2016
-
-
Laurent Bachelier authored
-
- Oct 02, 2016
-
-
Laurent Bachelier authored
024b71b8 but in the proper place fixes #3522 fixes #2602
-
- Sep 15, 2016
-
-
Laurent Bachelier authored
fixes #3522 fixes #2602 Thanks to Jean-Philippe Dutreve
-
- Sep 08, 2016
-
-
Bezleputh authored
-
- Aug 28, 2016
-
-
- Aug 07, 2016
-
-
- Jul 02, 2016
-
-
- Mar 26, 2016
-
-
hydrargyrum authored
-