Romain Bignon
3795543b48
fix call to _extract_signature_function()
2015-02-02 16:45:05 +01:00
Romain Bignon
70cf2db1ea
backported changes from youtube-dl
2015-01-25 22:02:25 +01:00
Romain Bignon
4c87c39d4f
fix parsing of js signature ( closes #1695 , courtesy of Vincent Hobeïka)
2014-12-25 17:31:38 +01:00
Florent
feb1405813
bump to 1.1
2014-10-17 14:10:38 +02:00
Laurent Bachelier
f4c17cdc9d
pep8: Fix E303 too many blank lines
2014-10-11 02:15:28 +02:00
Laurent Bachelier
448c06d125
pep8 blank lines fixes
...
flake8 --select W391,E302,E301,E304
autopep8 can't fix W391 even though it claims it can.
Fixed using a simple custom script.
2014-10-10 23:41:44 +02:00
Romain Bignon
d61e15cf84
rename things related to browsers
...
weboob.tools.browser -> weboob.deprecated.browser
weboob.tools.parsers -> weboob.deprecated.browser.parsers
weboob.tools.mech -> weboob.deprecated.mech
weboob.browser2 -> weboob.browser
weboob.core.exceptions -> weboob.exceptions
Also, the new tree for browser2 is:
weboob.browser: import weboob.browser.browsers.* and weboob.browser.url.*
weboob.browser.browsers: all browsers (including PagesBrowser and LoginBrowser)
weboob.browser.url: the URL class
weboob.browser.profiles: all Profile classes
weboob.browser.sessions: WeboobSession and FuturesSession
weboob.browser.cookies: that's a cookies thing
weboob.browser.pages: all Page and derivated classes, and Form class
weboob.browser.exceptions: specific browser exceptions
weboob.browser.elements: AbstractElement classes, and 'method' decorator
weboob.browser.filters.*: all filters
2014-10-07 00:30:07 +02:00
Florent
0088013ae1
Rename BaseBrowser to Browser
2014-09-26 10:18:12 +02:00
Florent
444d36eee8
Rename BasePage to Page
2014-09-26 10:18:12 +02:00
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