Commit graph

47 commits

Author SHA1 Message Date
Florent
628c63f899 Remove backend for do() calls 2014-10-10 14:11:45 +02:00
Romain Bignon
1a8a0db712 WebNip.iter_backends takes a new optional parameter 'module' 2014-10-08 17:10:13 +02:00
Romain Bignon
3ed6103740 use the new browser 2014-10-08 15:42:58 +02:00
Romain Bignon
d61e15cf84 rename things related to browsers
weboob.tools.browser -> weboob.deprecated.browser
weboob.tools.parsers -> weboob.deprecated.browser.parsers
weboob.tools.mech -> weboob.deprecated.mech
weboob.browser2 -> weboob.browser
weboob.core.exceptions -> weboob.exceptions

Also, the new tree for browser2 is:

weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.*
weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser)
weboob.browser.url: the URL class
weboob.browser.profiles: all Profile classes
weboob.browser.sessions: WeboobSession and FuturesSession
weboob.browser.cookies: that's a cookies thing
weboob.browser.pages: all Page and derivated classes, and Form class
weboob.browser.exceptions: specific browser exceptions
weboob.browser.elements: AbstractElement classes, and 'method' decorator
weboob.browser.filters.*: all filters
2014-10-07 00:30:07 +02:00
Laurent Bachelier
74a4ef6723 Use the print function everywhere
python modernize.py --no-six -f libmodernize.fixes.fix_print -w

With manual fixes as the import was put always on top.
2014-10-06 17:00:17 +02:00
Bezleputh
bc0a9b89db [boobot/twitter] fix purge system 2014-09-09 11:25:10 +02:00
Bezleputh
ef3637f0c4 [boobot] fix check_twitter method 2014-09-05 15:53:18 +02:00
Bezleputh
3a7010f478 [boobot] add a check_twitter method 2014-09-05 13:55:10 +02:00
Romain Bignon
431e0f2b48 fix %searchquote on unicode strings 2014-08-07 14:53:21 +02:00
Romain Bignon
4aa7092a0c add command %delquote 2014-08-07 14:53:07 +02:00
Romain Bignon
0d90e9dfab fix unicode issues 2014-04-15 13:45:25 +02:00
Romain Bignon
c6c7039d75 add quoting commands 2014-04-15 13:45:25 +02:00
Laurent Bachelier
a012abd98b boobot: Update keywords 2013-07-14 19:15:05 +02:00
Laurent Bachelier
a946fa8f0d boobot: Rewrite any kind of space (newline, tab) 2013-07-04 00:13:34 +02:00
Laurent Bachelier
bd28eca0f6 boobot: Remove punctuation at the end when 404 2013-06-29 00:34:28 +02:00
Laurent Bachelier
2b7761fe9b Ooops, it broke the first two required // 2013-06-29 00:04:57 +02:00
Laurent Bachelier
8acc696623 boobot: Some lib versions do not handle // well 2013-06-27 14:54:22 +02:00
Laurent Bachelier
70442b3044 boobot: More encoding fixes 2013-06-25 00:31:49 +02:00
Laurent Bachelier
a488edbd69 boobot: Support ignored users
And ignore irkers by default
2013-06-23 21:17:13 +02:00
Laurent Bachelier
46022720a1 boobot: Proper ^C closing 2013-06-23 20:37:21 +02:00
Laurent Bachelier
b6021ec90d boobot: Try to use HTML encoding 2013-06-23 20:26:12 +02:00
Laurent Bachelier
f7c169bcbd boobot: URL quoting creates more problems than in solves 2013-06-23 20:14:20 +02:00
Laurent Bachelier
321a7114cd boobot: Better handling of zero/invalid HTML 2013-06-23 20:05:54 +02:00
Laurent Bachelier
99d9879a73 Configure boobot storage path 2013-06-23 20:03:51 +02:00
Laurent Bachelier
e622246df4 boobot: Twitter support 2013-05-19 00:04:37 +02:00
Laurent Bachelier
2c633a43c8 boobot: Faster timeouts
This requires running the development version of Weboob.
2013-05-14 10:39:03 +02:00
Laurent Bachelier
cc8f3d6de1 boobot: More urlfix features 2013-05-14 10:39:03 +02:00
Laurent Bachelier
9b5b0dcf8b boobot: Do not quote the semicolon 2013-05-14 10:39:03 +02:00
Laurent Bachelier
1eedc55344 boobot: Better HEAD errors 2013-05-14 10:39:03 +02:00
Laurent Bachelier
ac51c1fb99 boobot: Fix encoding replacement 2013-05-14 10:39:03 +02:00
Laurent Bachelier
3710bb87ae boobot: Support servers with no HEAD 2013-05-05 21:23:30 +02:00
Laurent Bachelier
bba7898561 boobot: Ignore NBSP in URLs 2013-05-05 21:10:15 +02:00
Laurent Bachelier
8825072829 boobot: Better newline handling 2013-05-05 20:53:21 +02:00
Laurent Bachelier
1b2031796b boobot: Force shitty Windows encoding
Because web browsers actually do that!

Test URL: http://www.universfreebox.com/article/20715/Deutche-Telekom-met-fin-a-l-internet-illimite-bientot-le-tour-de-la-France
2013-05-05 20:43:58 +02:00
Laurent Bachelier
ab7287747a boobot: Guess page encoding
This seems to work with most pages.
2013-05-05 20:40:51 +02:00
Laurent Bachelier
45151afa3e boobot: Fix weird/unicode URLs
http://stackoverflow.com/questions/1916684/cant-open-unicode-url-with-python
2013-05-05 20:05:45 +02:00
Laurent Bachelier
2f9a50c754 boobot: Support multiple channels, refactoring
It should handle the various URL failures in a better way.
2013-05-05 19:15:51 +02:00
Laurent Bachelier
99eaa87db9 boobot: Display regular URL info 2013-04-20 11:56:00 +02:00
Laurent Bachelier
58a37c3bfb boobot: irc 5.0+ compatibility
It should still work with older versions
2013-04-13 23:14:57 +02:00
Laurent Bachelier
ec4f934fee boobot: Style fixes 2013-04-13 23:14:44 +02:00
Laurent Bachelier
60c097a389 boobot: Proper freenode server name 2013-04-13 23:14:08 +02:00
Romain Bignon
fb3d2655a9 support python-irclib >= 3 and minor changes 2013-04-11 20:32:33 +02:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Romain Bignon
4006506292 add keywords and enhance fetching of board messages 2012-04-09 10:11:31 +02:00
Romain Bignon
4f0e1bc456 remove unused import 2012-04-01 11:28:30 +02:00
Romain Bignon
fe5fa70094 check keywords on the dlfp board 2012-03-31 10:44:00 +02:00
Romain Bignon
27b742328c add an IRC bot 2012-03-30 17:39:37 +02:00