Commit graph

5,203 commits

Author SHA1 Message Date
Florent
43b5e154b6 Do not use the name "params" to build an URL 2014-03-26 21:30:04 +01:00
Florent
fe7c4e10b1 Fixe encoding warning 2014-03-26 21:04:08 +01:00
Florent
d5793252b6 Support the "Résiliation" of a line 2014-03-26 21:03:44 +01:00
Florent
cccb74a1d1 Update AUTHORS bis 2014-03-26 13:10:04 +01:00
Florent
0412d095bc Update Authors 2014-03-26 12:41:09 +01:00
Raphaël Rigo
72ccdad49e Fix date parsing in popolemploi
Signed-off-by: Raphaël Rigo <devel-git@syscall.eu>
2014-03-26 12:40:17 +01:00
Romain Bignon
d1c9d0de49 fix: default account type is TYPE_UNKNOWN, not None 2014-03-26 11:10:33 +01:00
Romain Bignon
aa2e93d461 do not crash when we aren't on a operations page 2014-03-26 11:10:22 +01:00
Romain Bignon
a84d5f947c add a possible label title 2014-03-26 11:10:09 +01:00
Romain Bignon
e977aed9be use TableCell to locate raw column 2014-03-26 10:28:14 +01:00
Romain Bignon
1be3f3bc87 fix crash on unknown accounts types 2014-03-26 10:28:02 +01:00
Vincent Paredes
1a381467e3 Fixing personnal space 2014-03-26 10:13:24 +01:00
Romain Bignon
9770b2af1c fix compatibility with requests < 2.2 2014-03-26 09:58:27 +01:00
Romain Bignon
273f0e683e logger can be unset at this step 2014-03-26 09:44:13 +01:00
Vincent Paredes
e8bf117728 remove logging checking on the contract page 2014-03-26 09:42:19 +01:00
Vincent Paredes
c23cbb8bbf increasing timedelta to 90 #fix 470 2014-03-26 09:42:19 +01:00
Romain Bignon
0048365bcc do CleanText forwards kwargs to allow children classes to have a default parameter 2014-03-26 09:40:22 +01:00
Romain Bignon
42028c390f add a 'settings' attribute on loggers to store user values like 'save_responses', 'responses_dirname', 'ssl_insecure', etc. 2014-03-25 22:58:35 +01:00
Romain Bignon
698ed5fb06 add exceptions, add _Filter.default_or_raise, and other fixes 2014-03-25 22:28:09 +01:00
Romain Bignon
9ab8538b42 remove unused imports 2014-03-25 21:49:47 +01:00
Romain Bignon
1ffc83df5d fix unexpected argument to BrokenPageError 2014-03-25 21:48:42 +01:00
Bezleputh
440baee739 [senscritique] use go instead of stay_or_go 2014-03-25 20:43:50 +01:00
Florent
2c63f6d52e Better next_page field 2014-03-25 13:25:25 +01:00
Florent
77f2213229 Return default value if html node is not found 2014-03-25 13:24:24 +01:00
Florent
e289fc6b8f Rename the filter Date to Datetime. Introduce Date 2014-03-25 12:23:08 +01:00
Florent
e1944d95f3 Date actually supports Datetime objects 2014-03-25 12:11:40 +01:00
Bezleputh
731d90c58e [senscritique] remove useless comment 2014-03-24 19:15:57 +01:00
Bezleputh
9eacdb0347 [browser2] fix bug in is_here when self.klass is None 2014-03-24 19:15:57 +01:00
Florent
afd499b0ed Add the format for the date in documentation 2014-03-23 19:22:36 +01:00
Florent
f3d699f14a Call CleanText.clean 2014-03-23 13:56:47 +01:00
Florent
2f303823c4 Format should not inherit of CleanText 2014-03-22 20:23:47 +01:00
Bezleputh
d8887cf3d7 [browser2] add a join filter 2014-03-22 20:16:52 +01:00
Romain Bignon
014234576e convert to browser2 2014-03-22 16:06:51 +01:00
Romain Bignon
e21e60a49b import exported LoggedPage 2014-03-22 16:06:51 +01:00
Romain Bignon
f6b5996652 fix count of forms 2014-03-22 16:06:51 +01:00
Romain Bignon
3bf7ef62c8 fix wrong behavior with cookies handle 2014-03-22 16:06:51 +01:00
Florent
41e2cab536 Add documentation 2014-03-22 14:59:01 +01:00
Bezleputh
007d99faf5 [senscritique] improve browser2 adaptation 2014-03-22 14:54:50 +01:00
Bezleputh
bd4c0d29a1 [senscritique] fix bugs 2014-03-22 13:15:13 +01:00
Romain Bignon
08adb2a63e use browser2 in boilerplate 2014-03-22 12:43:53 +01:00
Laurent Bachelier
e692068a96 Add an example of is_here() with parameters 2014-03-22 12:43:53 +01:00
Laurent Bachelier
0927230e95 Also check arguments with is_here()
Otherwise, something like that would never work:
page.stay_or_go(id=1)
page.stay_or_go(id=2)  # would stay on URL for id=1

To avoid breaking simple usage of is_here(), if no arguments are
provided, then there are no checks.

That means:
page.stay_or_go(id=1)
page.stay_or_go()  # nothing happens
2014-03-22 12:43:53 +01:00
Laurent Bachelier
9079db8acd Show a user-friendly error message 2014-03-22 12:43:53 +01:00
Laurent Bachelier
463fdb2016 Fix passing the URL with id2url, when provided with an URL
It was passing the match result instead.
2014-03-22 12:43:53 +01:00
Laurent Bachelier
27aa772ef5 Escape the base URL before adding it to the regexp 2014-03-22 12:43:53 +01:00
Laurent Bachelier
a7e278a20d Add support for BASEURL instead of PROTOCOL+DOMAIN 2014-03-22 12:43:53 +01:00
Laurent Bachelier
afb3bc412f Remove unused/obsolete parsers
lxmlsoup is currently used by one module.
2014-03-22 01:03:38 +01:00
Laurent Bachelier
f20f73a9cd Hide wrong pyflakes/flake8 error 2014-03-22 01:03:38 +01:00
Florent
28332ebd62 Fix conversion warning 2014-03-21 20:19:33 +01:00
Florent
16f6fc349e Fix conversion warning 2014-03-21 20:16:56 +01:00