Commit graph

5,644 commits

Author SHA1 Message Date
smurail
07294ac0f6 little factorization 2014-08-05 14:43:51 +02:00
Vincent Paredes
13802f497e fixing when requesting the same file 2014-08-05 14:43:46 +02:00
Bezleputh
067842ef0c [arte] improve video quality choice 2014-07-30 17:43:00 +02:00
Bezleputh
7bc7cd508d [arte] improve tests 2014-07-29 17:59:56 +02:00
Bezleputh
0084d59483 [arte] fill video.url with NotAvailable if url is not found 2014-07-29 17:51:35 +02:00
Bezleputh
0a761c5d9d [videoob] improve m3u8 management in download 2014-07-29 17:40:24 +02:00
Bezleputh
648fc82b39 [arte] use M3U8 format instead of HBBTV 2014-07-29 17:37:54 +02:00
Bezleputh
84fd839b84 [arte] do not crash if 'VDA' fiels is missing in json 2014-07-29 15:56:52 +02:00
Bezleputh
48ccf3f079 [meteofrance] raise an exception if forecast param is not a city id
closes #1433
2014-07-22 11:46:59 +02:00
Bezleputh
8ca5c619c5 [meteofrance] fix #1431, call the url that retrieve all the search results 2014-07-22 10:55:45 +02:00
Bezleputh
e5601f9476 [feedly] add test 2014-07-20 00:05:05 +02:00
Romain Bignon
0f1ce1d4b1 add tab to send queries 2014-07-19 15:42:19 +02:00
Florent Fourcot
e524098842 Remove dead code 2014-07-17 11:15:20 +02:00
Bezleputh
7b02b2750b [imdb] fix : site changed 2014-07-17 10:30:59 +02:00
Bezleputh
49caf13c6b [imdb] use omdbapi instead of imdbapi 2014-07-16 15:37:30 +02:00
Bezleputh
2ba8a074d5 [popolemploi] site is now only availbe using https 2014-07-15 09:19:30 +02:00
Bezleputh
0d38829727 [biplan] handle summer holiday in tests 2014-07-15 08:47:37 +02:00
Bezleputh
f4ca4e2f69 [senscritique] fix bug : channels and programs parameters are not set in get_event
As a result in non interactive mode we are not able to find an event returned by list command
2014-07-11 17:01:09 +02:00
Vincent Paredes
5fac4ffa53 adding new certificat hash 2014-07-11 15:24:24 +02:00
Vincent Paredes
439ed46f13 handle lcl pro https://professionnels.secure.lcl.fr 2014-07-11 15:24:24 +02:00
Vincent Paredes
0325c12397 switch string to unicode 2014-07-11 15:24:24 +02:00
Vincent Paredes
66f4328ade handle space in account number 2014-07-11 15:24:24 +02:00
Romain Bignon
1005197a92 add CsvPage 2014-07-11 15:24:24 +02:00
Romain Bignon
c90b5844e4 split filters into several files 2014-07-11 15:24:19 +02:00
Laurent Bachelier
d9e04292c4 Only load FirefoxCookies as needed
Which is probably never; the feature is unused as far as I know.
2014-07-10 10:15:38 +02:00
Romain Bignon
7bb5af7355 update AUTHORS 2014-07-09 19:02:23 +02:00
smurail
8cb44a45a7 possibility to set custom separators for decimals 2014-07-09 19:02:23 +02:00
smurail
a6972d3958 add LBP to currencies 2014-07-09 19:02:23 +02:00
Florent
ce1a00acce Import of FormFieldConversionWarning can not fail anymore
The test was here for python3 user, to not import browser1.
Since the load of the exception does not need browser1 anymore (see
"Remove import of browser1 in BaseApplication"), this check is useless
2014-07-09 15:53:46 +02:00
Florent
6759dec279 Add missing import 2014-07-09 14:58:49 +02:00
Florent
9ae7cc692f Fix a regression: restore ListItem version
And move it in the same place than before to help the diff...
2014-07-09 14:51:34 +02:00
Florent
1ea36ced3f s/BaseCapObject/BaseObject/ (error in documentation) 2014-07-09 13:00:22 +02:00
Florent
e5f11a15eb s/IBaseCap/CapBase/ (refs #1424) 2014-07-09 12:59:31 +02:00
Laurent Bachelier
0f90d6e9dd Some English fixes
"informations" is incorrect; try to use a better word, or the invariant "information".
2014-07-09 12:50:32 +02:00
Laurent Bachelier
dd4a66be77 Some missing renames of ICap to Cap
refs #1424
2014-07-09 12:50:32 +02:00
Florent
20ffb6ca08 Revert part of "import module used only in debug mode"
Since the date are now not always imported, it does not make a lot of
sense to not import all date utils
2014-07-09 12:01:35 +02:00
Florent
537b49e6bd DateField/TimeField/Delta are not really a base object 2014-07-09 11:46:46 +02:00
Florent
e12485dc84 Introduce local exception for SSL errors
It removes the import of SSL in console applications (SSL -> socket ->
base64 -> ...)
2014-07-09 11:45:55 +02:00
Florent
b8453fb0a8 Do not import Date in results header
Actually, the condition are not widely used. Do not load the datetime
module if we don't run it.
2014-07-09 11:43:48 +02:00
Florent
1daa866949 Move the import oh html2text outside of misc 2014-07-09 11:43:14 +02:00
Florent
e67d92cb51 Well, we *never* do i18n 2014-07-09 11:23:15 +02:00
Florent
c122e6f9cc Do not import/export dates utils in misc 2014-07-09 11:20:56 +02:00
Florent
0e3e32adb1 Do not import exceptions of requests / load browser if needed
The import process of requests is very expensive: it imports all urllib,
and a lot of stuff. It is a problem on slow hardware, for applications
not running browser2 (example: weboob-config update).

This patch has two mains parts:
 * introduces load_browser to load a browser only if needed (a lot of repository
   processing does not need a browser)
 * Do not import exceptions of requests, but use Weboob internals one

Before: 6455 open/190 modules imported
After: 3997 open/112 modules
2014-07-09 10:54:33 +02:00
Florent
fb555c3079 Do not import lxml in headers of page.py 2014-07-09 10:23:24 +02:00
Florent
8a2a1ece5e Do not always import module used only in debug mode 2014-07-09 10:23:24 +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
Florent
f7cd0abc3b Remove import of browser1 in BaseApplication 2014-07-08 17:15:39 +02:00
Bezleputh
4a9cee1126 [feedly] import weboob.tools.json instead of simplejson 2014-07-07 22:35:14 +02:00
Florent
b5da172488 Upgrade documentation with s/ICap/Cap 2014-07-07 16:32:54 +02:00
Florent
6de2ed66b1 Upgrade the error message in boilerplate 2014-07-07 16:30:57 +02:00