Commit graph

12 commits

Author SHA1 Message Date
Laurent Bachelier
34334f7deb vimeo: Get author 2013-03-30 01:16:05 +01: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
Laurent Bachelier
c21d1f7925 Code clarity fixes
autopep8 -ir -j2 --select=E303,E125
Diff checked manually.
2013-03-16 00:52:43 +01:00
François Revol
1d0faa1af0 vimeo: Fix for no-embed videos
Some videos like http://vimeo.com/61275290 have restrictions
on embedding, which makes the usual JSON url fail.
So we first try to parse the JSON data directly from the
script element in the page.

Signed-off-by: François Revol <revol@free.fr>
2013-03-14 08:44:10 +01:00
Florent
bf3132e8c0 bump to 0.f 2013-01-25 17:23:49 +01:00
Romain Bignon
4a1e4b5afa bump to 0.e 2012-10-28 20:39:49 +01:00
Romain Bignon
bae1675573 update AUTHORS and fix pyflakes warnings 2012-09-12 13:48:33 +02:00
François Revol
2be0682393 vimeo: Handle vp6 and vp8 codecs
Older videos aren't available as h264, so check the available
codecs and ask for the latest.

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-09-12 13:44:54 +02:00
François Revol
24f1a62586 vimeo: Remove logging to vimeo as it is not required
It seems the POST request to /log/client is not necessary,
so no need to tell vimeo about ourselves.

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-09-12 13:44:52 +02:00
François Revol
6c92d3265a vimeo: Cleanup, use HD when available
Remove commented failed attempts

Check the JSON data for hd file

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-09-12 13:44:50 +02:00
François Revol
8ef6e64dfe Add a video module for vimeo.com
The trick is to log ourselves in to validate the provided signature,
then the video file redirect works.
Since the redirected url is not checked for User-Agent unlike the redirect one,
we disable redirects to get the actual location and use it instead.
This allows running wget or vlc without faking their User-Agents.

For now it only downloads sd videos.
TODO: get the highest quality
TODO: search, latest

Signed-off-by: François Revol <revol@free.fr>
Signed-off-by: Romain Bignon <romain@symlink.me>
2012-09-12 13:44:37 +02:00