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
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