Commit graph

59 commits

Author SHA1 Message Date
Florent
5a1d83b567 Rename BaseModule to Module and Module to LoadedModule 2014-09-26 10:18:12 +02:00
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
a5eb1d789c Update part of the js interpreter 2014-09-05 15:48:52 +02:00
Florent
432f97e95c bump to 1.0 2014-09-03 17:14:10 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Romain Bignon
d6213643c8 backport some youtube-dl changes (closes #1422) 2014-07-05 14:12:58 +02:00
Vincent Texier
8d3b110934 Fix bug is_logged function
closes #1423

Signed-off-by: Vincent Texier <vit@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2014-07-05 13:59:38 +02:00
Vincent Texier
baa289a777 Fix Youtube mplayer error "No stream found to handle url"
Set the "_play_proxy" boolean attribute to the video object
to pipe the video to mplayer.

Fix Youtube module test.

Signed-off-by: Vincent Texier <vit@free.fr>
2014-05-23 10:36:41 +02:00
Florent
9ca0bbae6a bump to 0.j 2014-05-19 22:45:35 +02:00
Romain Bignon
1ffc83df5d fix unexpected argument to BrokenPageError 2014-03-25 21:48:42 +01:00
Laurent Bachelier
10be4fb695 youtube-dl: Fix returning the best format 2014-03-08 20:20:07 +01:00
Romain Bignon
d82cc615a3 steal youtube-dl code to fix youtube module 2014-03-04 21:02:05 +01:00
Florent
a82f57512c bump to 0.i 2014-01-08 23:40:16 +01:00
Pierre Mazière
0a4201e8dc modify youtube module to use the new BaseVideo/ICapVideo classes 2013-12-22 20:04:53 +01:00
blckshrk
68a443768f Bug fix on the video research method and coverage improvement.
The bug was solved by changing the maximum value of the 'search index'. Actually Youtube doesn't allow to get more than 500 results. That's why we changed the value of YOUTUBE_MAX_START_INDEX from 1000 to 500.
2013-11-04 11:30:53 +01:00
Laurent Bachelier
144bd87cec Yet another YouTube video URL 2013-09-10 05:56:05 +02:00
Florent
9b022b2ebe bump to 0.h 2013-08-03 14:31:13 +02:00
Romain Bignon
37c963b54b fix credentials encoding 2013-07-28 11:04:48 +02:00
Romain Bignon
b99d599aa9 remove parameter max_results from all capabilities 2013-07-27 23:40:24 +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
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
Laurent Bachelier
8c8eb672fc youtube: Take over maintainership, update copyrights 2013-07-21 01:57:38 +02:00
Laurent Bachelier
5a548e1e8c youtube: Fix crash with weird characters 2013-07-21 01:53:33 +02:00
Laurent Bachelier
aa8f0999a0 youtube: Support for a silly protection
Not sure I can even call that DRM.

closes #1277
2013-07-21 01:13:40 +02:00
Romain Bignon
be1204af48 stop search queries if there is no more results 2013-04-20 17:00:48 +02:00
Laurent Bachelier
9fddfe17bc youtube: SSL for gdata 2013-04-01 12:04:25 +02:00
Laurent Bachelier
0c1ac040e3 youtube: Use https
gdata seems to do requests in plain HTTP, though
2013-04-01 12:04:25 +02:00
Romain Bignon
21179c116e fix encoding of pages 2013-03-28 17:39:34 +01:00
Romain Bignon
7f81f261a1 detect if video is forbidden and raise an appropriated exception 2013-03-28 17:29:43 +01:00
Florent
9484099a1d bump to 0.g 2013-03-26 18:31:12 +01:00
Romain Bignon
3a79a21360 fix detection of media url on youtube 2013-03-22 16:42:16 +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
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
535d6efc47 more explicit error messages during common import errors 2013-01-14 21:28:47 +01:00
Romain Bignon
071bd9c597 fix login on youtube 2012-12-10 17:59:40 +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
Romain Bignon
2dd4e8b9b9 fix login on youtube (closes #918) 2012-10-27 12:59:41 +02: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
dfd4c8321c fix youtube website changes 2012-09-17 19:25:00 +02:00
Laurent Bachelier
460574785d youtube: Add support for youtube-nookie.com
I get this kind of URL when copying the URL of "NoScripted" video embeds.
2012-07-22 21:13:30 +02:00
Romain Bignon
17705782e0 ForbiddenVideo is a UserError 2012-05-14 21:20:44 +02:00
Romain Bignon
2f8072e89e bump to 0.d 2012-05-04 21:17:46 +02:00
Romain Bignon
f2157c4cfb fix some conversion warnings 2012-04-03 22:40:49 +02: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
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