Commit graph

32 commits

Author SHA1 Message Date
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
Romain Bignon
8e391d0b88 bump to 0.c 2012-03-14 22:09:24 +01:00
Laurent Bachelier
006e97a8be PEP8 style fixes and other small style fixes
I used autopep8 on some files and did carefully check the changes.
I ignored E501,E302,E231,E225,E222,E221,E241,E203 in my search, and at
least E501 on any autopep8 run.

Other style fixes not related to PEP8:
* Only use new-style classes. I don't think the usage of old-style
  classes was voluntary. Old-style classes are removed in Python 3.
* Convert an if/else to a one-liner in mediawiki, change docstring style
  change to a comment something that wasn't really appropriate for a
  docstring.
* Unneeded first if condition in meteofrance
2012-03-14 04:51:46 +01:00
Romain Bignon
ef07a9e795 do not use thumbnail_url anymore (closes #810), use set_empty_fields() method, do not give fields in constructor of BaseVideo anymore 2012-03-12 17:16:42 +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
Laurent Bachelier
a38958bf09 Fix crash when there is no author 2012-02-10 14:26:22 +01:00
Romain Bignon
4be4b40509 bump to 0.b 2012-02-05 19:35:30 +01:00
Romain Bignon
eb5b5a312f fix parsing youtube URL 2012-01-21 16:19:45 +01:00
Romain Bignon
14a7a1d362 support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00