Laurent Bachelier
295e07b3ed
browser2: Add CookieJar and related cookie handling
...
Not used by Browser for now, but with very detailed tests.
Does not handle expirations yet.
2014-03-10 13:11:06 +01:00
Laurent Bachelier
cd9b9300bd
browser2: Import package "cookies"
...
I certainly don't like doing this, but:
* It is the only cookie lib that does not completely suck.
* It handles multiple cookies in a line, parses flags correctly.
* Clean API
* "One file, so you can just drop cookies.py into your project if you like"
* MIT license
Despite being the best cookie lib available, it isn't well-packaged.
And since for now some light monkeypatching is done, it is even more
interesting to import it.
http://pypi.python.org/pypi/cookies
2014-03-10 13:11:06 +01:00
Laurent Bachelier
538c0ee92b
browser2: Handle Referrer, more documentation
2014-03-10 13:11:06 +01:00
Laurent Bachelier
d2c4085508
browser2: More tests
2014-03-10 13:11:06 +01:00
Laurent Bachelier
42b5eeeb77
browser2: Try to have extensive documentation
2014-03-10 13:11:06 +01:00
Laurent Bachelier
240abaf412
browser2: Better redirection fix
...
We have to redo request building for all redirection codes even if we
don't fix them, for consistency.
And only 302 seems to be problematic.
2014-03-10 13:11:06 +01:00
Laurent Bachelier
92073a2cf1
browser2: Better tests
...
Allow using local services, add RequestBin support.
Still using PostBin for the empty POST issue.
2014-03-10 13:11:06 +01:00
Laurent Bachelier
b70d722c03
browser2: Add support for relative URLs / BASEURL
2014-03-10 13:11:06 +01:00
Laurent Bachelier
60d1d03c1c
browser2: Handle server issues of postbin.org
...
And move tests outside.
2014-03-10 13:11:06 +01:00
Laurent Bachelier
72cbc5bd8b
browser2: Add a default timeout
...
Because no timeout is pretty dangerous
2014-03-10 13:11:06 +01:00
Laurent Bachelier
a1b7232521
browser2: Browser load urls, post, track state
...
With working tests!
2014-03-10 13:11:06 +01:00
Laurent Bachelier
10be4fb695
youtube-dl: Fix returning the best format
2014-03-08 20:20:07 +01:00
Romain Bignon
77ee2a53a2
fix navigation
2014-03-07 10:51:54 +01:00
Romain Bignon
14de4cbeb8
fix login error detection
2014-03-07 10:51:43 +01:00
Romain Bignon
35cdd3b69a
support LCR
2014-03-07 10:42:43 +01:00
Romain Bignon
d82cc615a3
steal youtube-dl code to fix youtube module
2014-03-04 21:02:05 +01:00
Romain Bignon
c85176f9b1
forge a random IP source address to avoid redirection to other website
2014-03-04 11:56:01 +01:00
Vincent A
43ec8a8a00
boilerplate: fix variable misuse in 'cap' recipe
2014-03-02 21:32:43 +01:00
Romain Bignon
ec10ec3382
add module alloresto
2014-03-02 20:58:16 +01:00
Vincent A
7b6c5e8544
boilerplate: add 'cap' recipe to prepare methods
2014-03-02 20:57:28 +01:00
Romain Bignon
7502310d7e
fix crash when the card history is empty
2014-03-01 19:23:06 +01:00
Raphaël Rigo
9d211201c7
card history parser
...
Signed-off-by: Raphaël Rigo <devel-git@syscall.eu>
Signed-off-by: Romain Bignon <romain@symlink.me>
2014-03-01 19:19:27 +01:00
Raphaël Rigo
31af964696
Handle card history
...
Signed-off-by: Raphaël Rigo <devel-git@syscall.eu>
Signed-off-by: Romain Bignon <romain@symlink.me>
2014-03-01 19:19:27 +01:00
Vincent Paredes
5cc41a78b7
increasing range for ChaoticDateGuesser
2014-03-01 18:15:45 +01:00
Romain Bignon
7c64ad162c
fix parsing accounts on specific regions
2014-03-01 18:14:03 +01:00
Bezleputh
7bd059b99b
[senscritique] fix : site changed
2014-02-28 13:43:21 +01:00
Florent
695b98ee79
Always success in untrack if the id is in the storage
2014-02-27 16:12:33 +01:00
Florent
2a0d4a5e7f
Do not try to get status of not loaded backends
2014-02-27 16:03:57 +01:00
Romain Bignon
5345645b0f
fix accounts parsing
2014-02-27 08:28:25 +01:00
Bezleputh
95ca604472
convert string to unicode to avoid warning message
2014-02-26 20:12:00 +01:00
Bezleputh
7492c0bdc4
[lefigaro] fix : site changed
2014-02-26 20:11:59 +01:00
Bezleputh
32e265a943
[ina] remove useless commented line
2014-02-26 20:11:59 +01:00
Romain Bignon
2af2a3ee08
add Banque Rhône-Alpes
2014-02-26 18:39:58 +01:00
Vincent Paredes
fee1fe96b6
increase the mode parameter to get more history
2014-02-26 18:37:52 +01:00
Vincent Paredes
b9c8108d04
adding support for leroy merlin
2014-02-26 18:37:52 +01:00
Vincent Paredes
158efcded0
adding ChaoticDateGuesser when you know an interval
2014-02-26 18:37:52 +01:00
Vincent Paredes
64ef0de61d
fixing date not in the good interval
2014-02-26 18:35:31 +01:00
Vincent Paredes
9855ae8fa9
fixing wrong date guessing
2014-02-26 18:35:31 +01:00
Romain Bignon
0ce45770fb
certificate changed
2014-02-26 07:43:54 +01:00
Bezleputh
91f11bc948
[ina] fix : site changed
2014-02-24 20:11:45 +01:00
Bezleputh
11efe2d85d
add **kwargs to manage extra args in xpath and cssselect
2014-02-24 20:09:28 +01:00
Bezleputh
5ea0307b6a
add an xml parser
2014-02-24 20:07:49 +01:00
Bezleputh
057901f796
[arte] fix bug when VDA field not found in json file
2014-02-24 20:03:44 +01:00
Romain Bignon
441518cf74
remove unused imports
2014-02-24 15:58:41 +01:00
Romain Bignon
8955815805
better display to prompt user passwords
2014-02-24 14:55:06 +01:00
Romain Bignon
532369e5da
add transparency
2014-02-21 20:24:40 +01:00
Romain Bignon
45b5db6c2f
fix icon size
2014-02-21 20:19:13 +01:00
Florent
aacddf7af0
Detect status of the parcel
2014-02-21 11:37:16 +01:00
Florent
3771bf74a6
Remove trailing \n
...
Double new line at the beginning of the table
2014-02-20 16:23:18 +01:00
Florent
7429c869a8
[colisprive] Catch error pages in browser
2014-02-20 16:17:08 +01:00