Commit graph

13 commits

Author SHA1 Message Date
Florent
a019819f9d Move browser2 from weboob/tools/b2 to weboob/browser2 2014-10-02 11:01:34 +02:00
Laurent Bachelier
981af5e2a9 pastebin: Fix crash on spam page 2014-10-01 16:23:05 +02:00
Florent
54a1bc4809 Remove * imports in filters 2014-09-29 22:31:54 +02:00
Laurent Bachelier
a2076ed321 pastebin: Fix crash with Base() and filter chaining
Revert to old style filters for now, investigate later.
2014-09-03 10:23:26 +02:00
Laurent Bachelier
b92b1227d2 pastebin: Handle limit exceeded warning
And skip if found in tests
2014-09-03 10:23:26 +02:00
Florent
76cb004eb4 Move ItemListTable-Element outside of page.py
One of the goal is to not import all modules needed by filters by
loading the page file.

In the same goal, move the import of parsers in the class definition.
2014-07-09 10:23:20 +02:00
Romain Bignon
8efd37e71d overload & and | operators to chain filters (refs #1426) 2014-07-05 20:00:04 +02:00
Laurent Bachelier
3010ae7a70 pastebin: Convert to browser2, fix some little things
Stop testing public posts, this has been failing for a long time.
Retrieve the date, though it isn't in the capability yet.
Move most of the code in browser.py now that it is cleaner and simpler.

Some more improvements should be coming, but it is already in a much
better state than it was.
2014-06-17 00:48:30 +02:00
Laurent Bachelier
a6ad7e83ff Use newer form of catching exceptions
autopep8 -i --select=W602
Also some other minor deprecated syntax changes, like "while 1".
I did not commit the less obvious changes.
2013-07-27 15:16:16 +02:00
Laurent Bachelier
400056c057 pastebin: Fix login without API 2012-11-08 11:51:54 +01:00
Laurent Bachelier
bd8d103a8e Remove PAGES hacks from pastebin, cleanups
Using OrderedDict fixes the issue.
Also some pep8 fixes.
2012-03-12 00:24:29 +01:00
Laurent Bachelier
32b0895ea6 Raise exception instances, not classes 2012-02-11 01:07:21 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00
Renamed from weboob/backends/pastebin/browser.py (Browse further)