Commit graph

31 commits

Author SHA1 Message Date
Christophe Benz
afae06efc1 factorize wget user agent 2010-11-16 12:16:14 +01:00
Romain Bignon
d2f9bbb94c when a page isn't recognized, print 'Response saved to' as a warning 2010-11-11 17:24:22 +01:00
Romain Bignon
150b07b306 parameter 'no_login' to Browser.location() to don't check in we're logged 2010-10-31 00:15:25 +02:00
Romain Bignon
84b4003bf4 use several loggers for parts of weboob 2010-10-30 16:09:33 +02:00
Romain Bignon
73d33c0597 fix when HTTP server returns shit (closes #406) 2010-10-16 17:32:29 +02:00
Romain Bignon
570459f4e2 if page is not recognized, save response even if -a is not supplied 2010-10-16 10:05:23 +02:00
Romain Bignon
5794973932 new backend 'redmine' (implements ICapContent) 2010-10-15 16:32:06 +02:00
Romain Bignon
0b7ef16103 readurl() can take same arguments than openurl() 2010-10-14 14:08:21 +02:00
Laurent Bachelier
0cdcd10b52 Fix syntax error with Python<2.6 2010-09-30 23:49:15 +02:00
Laurent Bachelier
a301177175 Also hook in the readurl method 2010-09-30 23:28:33 +02:00
Laurent Bachelier
da55da0d9d Optional global argument to save responses
By adding -S or --save-responses to an application's arguments, every
response will be saved in /tmp/weboob. This is best used with the
-d/--debug option.
It might be interesting to add the headers to the saved response.
2010-09-30 23:28:33 +02:00
Christophe Benz
8afff42465 compare instance to basestring instead of (str, unicode) 2010-08-17 19:33:06 +02:00
Romain Bignon
30cc736fbc new function get_document 2010-08-13 10:43:22 +02:00
Romain Bignon
9b02bad7ed fix when the DOMAIN is None 2010-08-11 16:00:39 +02:00
Laurent Bachelier
05b9bbdb2e Fix for ClientForm in mechanize >=0.2
refs #362
2010-08-10 18:15:22 +02:00
Christophe Benz
46f4de696e handle read URL data failures 2010-08-09 20:29:07 +02:00
Christophe Benz
70d618862a add android user agent 2010-07-20 16:47:41 +02:00
Romain Bignon
08700f4a31 new exception BrowserHTTPError, retry only when this one is raised
For example, on aum, the exception AdopteWait is derived from
BrowserUnavailable, which is normal. But when AdopteWait is raised, we
don't care about retry.

So only HTTP errors attempt to retry.
2010-07-15 23:47:01 +02:00
Romain Bignon
59169cd281 BaseBrowser.openurl uses the open_novisit() method 2010-07-15 22:02:23 +02:00
Christophe Benz
3175883351 implement fillobj() browser method 2010-07-15 01:21:49 +02:00
Christophe Benz
b4c672fa46 new select() helper 2010-07-14 17:14:53 +02:00
Romain Bignon
cd5085f564 moved firefox_cookies into weboob.tools.browser 2010-07-12 23:53:37 +02:00
Christophe Benz
b460b81ba8 use regexp groups with pages 2010-07-12 03:16:08 +02:00
Christophe Benz
351622debc no more display data when Page is not found 2010-07-12 03:16:07 +02:00
Christophe Benz
91cf1fa6a0 explicit user_id in debug 2010-07-12 03:16:07 +02:00
Christophe Benz
1847ea5f34 code clean
code clean
2010-07-12 03:16:03 +02:00
Christophe Benz
166bfea683 add ExpectedElementNotFound exception 2010-07-10 02:30:29 +02:00
Romain Bignon
a4a68d96bc new system to manage optimizations (and new optimization VISIBILITY) 2010-06-30 03:19:38 +02:00
Romain Bignon
d5b1105b9c mechanize 0.2 uses its own ControlNotFoundError exception 2010-06-26 13:38:48 +02:00
Christophe Benz
470f2a9fe2 use real comments for licence header 2010-06-22 16:27:33 +02:00
Christophe Benz
0de0f2a768 rewrite video decorators to be in browser 2010-05-20 11:49:05 +02:00
Renamed from weboob/tools/browser.py (Browse further)