Commit graph

14 commits

Author SHA1 Message Date
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
be7d49312d add check to prevent prints in weboob modules 2014-10-06 17:22:37 +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
Florent
0088013ae1 Rename BaseBrowser to Browser 2014-09-26 10:18:12 +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
François Revol
69505f312a gdcvault: only log out when actually logged in 2013-05-29 13:47:11 +02:00
François Revol
26e2fc986e gdcvault: cleanup 2013-03-25 17:07:27 +01:00
François Revol
4b8e65c7e3 gdcvault: Fix flakes warnings 2013-03-25 17:07:26 +01:00
François Revol
5f87aa2444 gdcvault: Handle pages with redirects to files
For some entry the /play/ page is a redirect to the file.
This is quite hackish but seems to work.
2013-03-25 17:07:26 +01:00
François Revol
38b80491f1 gdcvault: Implement searching; partial download fix
* Implement search functionality, using POST to get JSON data
* Fix download for most items even for non-free ones.
For now only missing are non-free mp3 files it seems (like 769),
/mediaProxy.php returns 2bytes html crap.
2013-03-22 16:45:45 +01:00
Florent
6a7bc0924d Add BrowserBanned in import 2013-03-18 11:15:19 +01:00
François Revol
667879518a gdcvault: use is_on_page() call
Signed-off-by: François Revol <revol@free.fr>
2013-03-18 11:14:01 +01:00
François Revol
8a07b7a9ce gdcvault: implement login
* since there is a limited number of usable concurrent sessions
we force a logout on exit.

Signed-off-by: François Revol <revol@free.fr>
2013-03-18 11:13:36 +01:00
François Revol
d24ca46ef6 Add a video module for gdcvault.com
For now it only fetches the speaker video, but each page can have
both a speaker and slides video feed.
TODO: search

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-09-01 09:29:39 +02:00