Commit graph

5,106 commits

Author SHA1 Message Date
Florent
cc68ffcfe2 Use more tools of browser2 in dresdenwetter (2/2) 2014-03-18 16:28:04 +01:00
Florent
29498ca78f Use more tools of browser2 in dresdenwetter 2014-03-18 16:24:44 +01:00
Florent
207c5d9b41 Display the text if the regexp does not match 2014-03-18 16:24:10 +01:00
Florent
081d4f32f0 Introduce CleanChars filter 2014-03-18 16:23:51 +01:00
Florent
01954fad4e NotAvailable can be now directly set 2014-03-18 12:03:18 +01:00
Florent
22606d961f Rewrite the empty function according to the new NotLoaded
and the new NotAvailableType...
2014-03-18 12:02:26 +01:00
Florent
fc6f7d8c21 NotAvailable and NotLoaded should not be callable 2014-03-18 11:51:02 +01:00
Florent
8b0bb88d14 Convert dresdenwetter to browser2 2014-03-18 10:43:30 +01:00
Florent
94632d60f8 Test "if a is None", not only "if a" 2014-03-18 10:43:30 +01:00
Romain Bignon
ec3af7bfab remove dependencie to weboob.tools.parsers 2014-03-17 21:43:57 +01:00
Johann Broudin
91a4e8fa10 delete useless imports 2014-03-17 18:35:04 +01:00
Johann Broudin
6aa9caa5f5 delete the certificate in the cmb module 2014-03-17 18:35:02 +01:00
Johann Broudin
59bd4cd313 headers is not used anymore.. 2014-03-17 18:23:15 +01:00
Johann Broudin
2f66936cb0 cookie is not used anymore 2014-03-17 18:23:15 +01:00
Johann Broudin
1a6036897d the ssl check option is not used anymore 2014-03-17 18:23:15 +01:00
Johann Broudin
3a2bd9754f certhash is not used either at the moment 2014-03-17 18:23:15 +01:00
Bezleputh
05978d8d77 [popolemploi] fix : site changed 2014-03-17 00:22:22 +01:00
Johann Broudin
7621da74e6 change max_retries to 2 2014-03-14 12:30:55 +01:00
Johann Broudin
7f82f45e70 correct the usage of proxy, timeout and ssl verification in browser2 2014-03-14 12:30:55 +01:00
Johann Broudin
b585f02b75 correct a bug in the history command of cmb 2014-03-14 12:30:55 +01:00
Laurent Bachelier
9146f2f312 Save request/response metadata with as much info as possible 2014-03-14 01:53:49 +01:00
Laurent Bachelier
3a9bc80f8a Saving cookies for debug isn't very interesting
We have them in headers in a clearer way, at least for the purpose of
debugging.
Showing new cookies as they appear could be done, though.
2014-03-14 01:53:49 +01:00
Laurent Bachelier
058cafe69e Save headers of response and request 2014-03-14 01:53:49 +01:00
Laurent Bachelier
6acfd75780 Save cookies on save_responses and pave the way for more good stuff
We apparently can't override the class in the Response, even if it is
changed in the Session. Still, it will be useful to have our own class.
2014-03-14 01:53:49 +01:00
Laurent Bachelier
95e71e329b Better filenames for save responses 2014-03-14 01:53:49 +01:00
Romain Bignon
a74b31df33 several of little fixes 2014-03-14 00:19:08 +01:00
Romain Bignon
16742dc9aa able to set None as default value on filters 2014-03-14 00:19:05 +01:00
Bezleputh
2673b3a340 fix rename error 2014-03-14 00:19:15 +01:00
Romain Bignon
12470c1b8f ignore 'except' in a comment 2014-03-13 22:06:48 +01:00
Romain Bignon
266300ab65 add UrlNotResolvable exception when URL.build can't resolve url with keywords 2014-03-13 22:06:47 +01:00
Laurent Bachelier
fca0ab8733 Quick and dirty -a and -I support for Browser2 2014-03-13 22:04:20 +01:00
Romain Bignon
d472fd6eec fix crash 2014-03-13 21:45:34 +01:00
Romain Bignon
4cffb3038b raise errors on responses 2014-03-13 21:34:18 +01:00
Romain Bignon
2db4646779 use the new URL.id2url decorator 2014-03-13 21:27:59 +01:00
Romain Bignon
9724dcf461 add URL.id2url decorator 2014-03-13 21:27:59 +01:00
Romain Bignon
bf8675c88b PagesBrowser.open and PagesBrowser.location always return a Response object 2014-03-13 21:27:59 +01:00
Romain Bignon
8292eadaee remove useless debug message, imports and functions 2014-03-13 21:27:43 +01:00
Bezleputh
9cd521bfde [hybride] improve browser2 adaptation 2014-03-13 20:20:03 +01:00
Bezleputh
eefe784352 [browser2] put ListElement call parameters in self.param 2014-03-13 20:20:03 +01:00
Bezleputh
7d59640712 [browser2] add a validate method in order to check objet before returning him 2014-03-13 20:20:03 +01:00
Bezleputh
e7d09cbe31 [hybride] adapt to browser2 2014-03-13 20:20:03 +01:00
Johann Broudin
0f1726d01c add ssl proxy support to browser and browser2 and add the option _proxy_ssl 2014-03-13 20:20:02 +01:00
Johann Broudin
a56767fbf5 change a function call to avoid useless None 2014-03-13 20:20:02 +01:00
Johann Broudin
cafd6c8f05 Add proxy support to browser2 2014-03-13 20:20:02 +01:00
Johann Broudin
0fe6358f59 CMB now uses browser2 instead of hellhttp 2014-03-13 20:20:02 +01:00
Laurent Bachelier
1e5f5940c5 Split _open() to allow request customization 2014-03-13 19:01:56 +01:00
Laurent Bachelier
b07da18081 More updates and cleanups for new requests 2014-03-13 18:07:17 +01:00
Laurent Bachelier
5711158f80 Require python-requests version 2014-03-13 17:53:01 +01:00
Laurent Bachelier
eb54528b95 Update Firefox to latest ESR 2014-03-13 17:36:44 +01:00
Laurent Bachelier
62e5d23f23 Another python-requests bug fixed in newer versions! 2014-03-13 17:32:45 +01:00