Commit graph

50 commits

Author SHA1 Message Date
Florent
f3aeddffbc Rename backend.py to module.py 2014-09-26 10:18:12 +02:00
Florent
9370b2fae7 s/Backend/Module 2014-09-26 10:18:11 +02:00
Florent
3ecb491c1c s/BACKEND/MODULE/ 2014-09-26 10:18:11 +02:00
Florent
8559af3d6a s/BaseBackend/BaseModule 2014-09-26 10:18:11 +02:00
Laurent Bachelier
3da02fde24 Remove useless __all__ in modules
They bring nothing of value (we never use import * anyway) and introduce
a maintenance burden.

The __all__ that I left might not be very useful either but at least
they are not a pain to maintain; they are also used by pyflakes in some
cases.
2014-09-09 19:00:02 +02:00
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +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
983ed221e2 ability to use filters as classes in chain (refs #1426) 2014-07-05 20:22:45 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Romain Bignon
b4bdb1fc92 use URL.id2url to parse url if any, and ignore unwanted urls 2014-05-17 14:27:55 +02:00
Bezleputh
e63255e0be [francetelevisions] fix unicode warning 2014-05-13 00:05:03 +02:00
Bezleputh
297132e200 [francetelevisions] get better video url 2014-05-06 22:32:41 +02:00
Bezleputh
8b20ba5f55 [francetelevisions] Use Dict filter 2014-05-06 22:32:41 +02:00
Bezleputh
8f4d61ecdd [francetelevisions] fill ext field 2014-05-06 15:51:05 +02:00
Bezleputh
9f1314b404 [francetelevisions] fix info command in interactive mode 2014-05-05 16:29:31 +02:00
Bezleputh
b0d3cd7e14 [francetelevisions] fix bug in date parsing 2014-05-05 15:22:52 +02:00
Bezleputh
20bea658f3 [francetelevisions] adapt to browser2 2014-05-05 14:36:00 +02:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Pierre Mazière
5617a06c2e modify francetelevisions module to use the new BaseVideo/ICapVideo classes 2013-12-22 20:04:53 +01:00
Bezleputh
a9397dbfcf [francetelevisions] fix #1282 2013-12-15 16:09:01 +01:00
Florent
ccfc695f0e Revert part of 32ee771ee0 2013-11-21 14:16:25 +01:00
Florent
32ee771ee0 Fix downloading in non-interactive mode 2013-11-21 10:31:03 +01:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
b99d599aa9 remove parameter max_results from all capabilities 2013-07-27 23:40:24 +02:00
Romain Bignon
c0740e695d remove useless import of with_statement (we do not support anymore python2.5)
refs #806
2013-07-27 14:38:18 +02:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01: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
Fabien Grumelard
1689f29212 Fix francetelevisions search
Signed-off-by: Fabien Grumelard <fabix-symlink@grumi.net>
Signed-off-by: Laurent Bachelier <laurent@bachelier.name>
2013-02-26 11:06:03 +01:00
Fabien Grumelard
d18c115555 Fix francetelevisions search 2013-02-07 11:59:54 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
572890b386 add date in title 2012-12-23 19:42:01 +01:00
Romain Bignon
31d7e317fe fix module with new upstream website 2012-12-23 19:24:25 +01:00
Laurent Bachelier
1f310a3d33 Fix many CapVideo-related ConversionWarnings 2012-11-10 18:18:29 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Laurent Bachelier
3a66728392 Fix crashes with unicode characters in maintainer name
Change every mention of MAINTAINER to avoid future issues.
2012-10-24 13:29:30 +02:00
Romain Bignon
ca7fd3c7f2 use logger instead of print in modules 2012-05-13 10:44:48 +02:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +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
Laurent Bachelier
e958c229e6 Move the "empty search for latest" to collections
There is now a "latest" collection (or "latest_nsfw").
The feature didn't look much used, since it didn't work on many
backends.
Using collections will make it easy to support other things
like most viewed, featured, etc.
As a bonus, I added tests for every backend with the feature.
2012-03-16 03:34:22 +01:00
Laurent Bachelier
ceac11153d Fix getting latest francetelevisions videos 2012-03-16 00:09:56 +01:00
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Romain Bignon
56691d7ea7 rename iter_search_results to either search_videos and search_gallery (closes #779) 2012-03-12 16:24:33 +01:00
Laurent Bachelier
0fa7060b68 Better descriptions for modules 2012-02-11 00:46:48 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Laurent Bachelier
b7f3d9cd82 Fix francetelevisions test 2012-02-01 00:34:52 +01:00
Laurent Bachelier
f3470a0128 Fix francetelevisions for website updates
And also add support for existing data it lacked.
2012-02-01 00:29:43 +01:00
Romain Bignon
0c901e7d5e search on /recherche.html instead of /replay/recherche.html 2012-01-31 21:29:49 +01:00
Romain Bignon
592d686f1c date isn't available anymore on search results (refs #772) 2012-01-31 18:35:17 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00