Commit graph

5,172 commits

Author SHA1 Message Date
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
Bezleputh
6c49775896 [senscritique] continue browser2 adaptation 2014-03-21 19:22:27 +01:00
Romain Bignon
38a99064b0 add filter Format in default formatters 2014-03-21 08:31:42 +01:00
Romain Bignon
6704532ae3 fix crash when coming list is empty 2014-03-20 19:46:47 +01:00
Florent
876ddb7378 Trivial pep8 cleaning 2014-03-20 16:16:35 +01:00
Florent
39ea87fa61 Replace Insert2 by InsertX
And remove the encoding of login/password
And move BrowserBanned exception in page
2014-03-20 16:07:50 +01:00
Florent
5cdefd8966 Support pagination for history, fix crash when the call is free 2014-03-20 15:37:50 +01:00
Florent
eab0f51e29 Support default values in CleanDecimal 2014-03-20 15:37:28 +01:00
Florent
a9020483c2 Cleaning after browser2 2014-03-20 15:11:14 +01:00
Florent
8ec4f24c9a Convert poivy to Browser2 2014-03-20 15:07:10 +01:00
Florent
0feae01a9c Add replace_dots option to CleanDecimal 2014-03-20 14:25:56 +01:00
Florent
ff04016c8c Remove home() 2014-03-20 13:56:11 +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
Florent
dc7a83cba0 Remove parse function 2014-03-20 10:23:08 +01:00
Romain Bignon
991723549e fix style 2014-03-20 07:48:41 +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
Romain Bignon
b830781128 use Regexp filter 2014-03-20 07:31:36 +01:00
Bezleputh
06cee506f9 [browser2] Add JsonPage 2014-03-20 00:45:19 +01:00
Bezleputh
640504d79c [senscritique] adapt to browser2 2014-03-20 00:40:55 +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
Laurent Bachelier
d5ea0d0810 piratebay: yet another domain change 2014-03-19 17:51:53 +01:00
Florent
e5187bc5ed Simplify parse function 2014-03-19 17:50:57 +01:00
Florent
4e80317717 Update tests 2014-03-19 17:30:51 +01:00
Florent
492cc0e63b Some cleaning 2014-03-19 17:04:49 +01:00