Florent
d768de6638
Add RawPage to Browser2
2014-03-28 13:24:26 +01:00
Florent
7dee2218ff
Add dayfirst option to Date and DateTime
2014-03-28 11:31:44 +01:00
Florent
ba2f66183c
Introduce Lower Filter
2014-03-28 11:31:41 +01:00
Florent
c3b34886db
Fix call of Date
2014-03-28 11:31:38 +01:00
Laurent Bachelier
c4b40e85e9
Limit debug filename to a sane number of characters
2014-03-27 23:41:31 +01:00
Florent
c7b055b898
Remove unused (and undeclared) ipaddr field
2014-03-27 22:28:17 +01:00
Bezleputh
c699dbe4cc
[browser2] Rename Combine filter to CombineDate
2014-03-27 10:01:13 +01:00
Bezleputh
66f3560b52
[browser2] add a CleanHTML filter
2014-03-27 00:16:11 +01:00
Bezleputh
f04c5a4ae9
[browser2] add a combine filter
2014-03-27 00:15:31 +01:00
Romain Bignon
a84d5f947c
add a possible label title
2014-03-26 11:10:09 +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
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
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
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
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
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
Romain Bignon
38a99064b0
add filter Format in default formatters
2014-03-21 08:31:42 +01:00
Florent
eab0f51e29
Support default values in CleanDecimal
2014-03-20 15:37:28 +01:00
Florent
0feae01a9c
Add replace_dots option to CleanDecimal
2014-03-20 14:25:56 +01:00
Florent
d31e03db8e
Move LoggedPage in tools.browser2
2014-03-20 12:10:21 +01:00
Florent
4e6333fbcd
Do not crash if an input does not have any type
2014-03-20 11:51:03 +01:00
Romain Bignon
0a53824104
URL.open and URL.go can take 'params' argument
2014-03-20 07:48:23 +01:00
Romain Bignon
5e4337a0cb
fix crash
2014-03-20 07:48:16 +01:00
Bezleputh
06cee506f9
[browser2] Add JsonPage
2014-03-20 00:45:19 +01:00
Bezleputh
1114dbd516
[browser2] Add an "open" method in order to open an url without changing the current URL
2014-03-20 00:40:55 +01:00
Bezleputh
4f4d08ec33
[browser2] Allow to import Profile
2014-03-20 00:40:55 +01:00
Romain Bignon
e217b24427
add a default value for Time/Duration
2014-03-19 20:45:39 +01:00
Romain Bignon
e3cbda5dc8
Link inherits Attr
2014-03-19 20:45:24 +01:00
Romain Bignon
06d1907d3d
add filter Duration
2014-03-19 20:27:22 +01:00
Romain Bignon
16615dd337
correctly save file content with -a
2014-03-19 20:27:09 +01:00
Romain Bignon
5fb0aad01e
fix crash in multithread environment
2014-03-19 18:56:39 +01:00
Florent
0362821fb6
Introduce the new Attr filter
2014-03-19 16:46:46 +01:00
Florent
ae3471fdf7
Rename Attr filter to Field
2014-03-19 16:20:24 +01:00