Commit graph

31 commits

Author SHA1 Message Date
Romain Bignon
c10199204f search query string: replace %(lat)s and %(lng)s with position in my profile 2015-04-29 10:34:26 +02:00
Florent
2ab2e68cc4 Import exceptions from weboob.exceptions 2014-10-15 14:52:57 +02:00
Laurent Bachelier
448c06d125 pep8 blank lines fixes
flake8 --select W391,E302,E301,E304

autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +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
Romain Bignon
1f95e7631f works with adopteunmec via https 2014-10-06 17:37:52 +02:00
Florent
0088013ae1 Rename BaseBrowser to Browser 2014-09-26 10:18:12 +02:00
Romain Bignon
627d1baf7c fix encoding errors 2013-04-27 12:20:31 +02:00
Romain Bignon
4840dff989 reorganization 2013-04-20 15:43:14 +02:00
Romain Bignon
0084fa63f8 aum website needs to be logged to see profile now (because of craps) 2013-04-20 11:47:25 +02:00
Romain Bignon
6cf1eed780 disable warning when unable to get public profile from website 2013-04-18 18:05:18 +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
239194bdf3 fix regexps to discover geographical position of niggers 2013-03-04 15:42:59 +01:00
Romain Bignon
de14f239ed go on website to get stats and geographical position 2013-03-04 10:28:31 +01:00
Romain Bignon
55d5c5c021 date used may be UTC 2013-02-22 14:05:52 +01:00
Romain Bignon
fc3b0ed384 weboob 1 aum 0 (closes #1041) 2013-02-22 13:55:12 +01:00
Romain Bignon
2f54c8f81c mimic mobile application (refs #1041) 2013-02-19 17:01:57 +01:00
Romain Bignon
5b993d06e0 handle GONE exception 2013-02-19 17:00:35 +01:00
Romain Bignon
c63c10fb07 do not use old API anymore (disabled by faggots) 2012-09-20 14:49:45 +02:00
Romain Bignon
c383960729 support new API (closes #871,#900,#902) 2012-08-04 15:53:58 +02:00
Romain Bignon
251c91b411 fix conversion warnings 2012-06-15 17:47:10 +02:00
Romain Bignon
5cf78582ec changes I don't know if it changes anything 2012-06-15 17:36:19 +02:00
Romain Bignon
e291912bc0 display last 45 visits instead of 15 2012-06-15 17:31:14 +02:00
leto
e59d5eb98f fix some values
Signed-off-by: leto <leto@weboob.org>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-04-30 16:08:50 +02:00
Romain Bignon
aea269e9f6 create UserError exception
Modules can raise this exception when they want to print errors to user
2012-04-25 13:43:52 +02:00
Romain Bignon
4534457b27 remove unused import 2012-03-24 08:29:51 +01:00
Romain Bignon
4d3682eb23 adopteunmec seems to have changed its charset (refs #820) 2012-03-22 21:54:46 +01:00
Laurent Bachelier
b8d1a52732 Use simplejson first, and centralize import
simplejson is supposed to be faster:
http://stackoverflow.com/questions/712791/json-and-simplejson-module-differences-in-python
2012-03-16 16:27:22 +01:00
Romain Bignon
9300d08e24 do not try to get hidden photos as they are not available 2012-02-05 19:35:30 +01:00
Romain Bignon
04a022a2dd fix getting profiles when a photo is unavailable 2012-02-05 19:22:51 +01:00
Romain Bignon
b10f21334b do not crash if there are php errors before json 2012-01-21 17:54:17 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00
Renamed from weboob/backends/aum/browser.py (Browse further)