weboob-devel/modules/dailymotion
Vincent Texier 7a72b94b37 Fix bug dailymotion not playing video with "Server returned 403: Forbidden"
Dailymotion video url send cookies then use a 302 redirect to the real video url
The real video url check the cookies sent in the request.

Some mediaplayer (mplayer) can not handle this.

So we use pure python urllib2 to handle this and load the video.
The video bytes are piped to the mediaplayer.

Others modules might need this.
They just have to set the "_play_proxy" boolean attribute to the video object.

Signed-off-by: Vincent Texier <vit@free.fr>
2014-04-21 09:33:31 +02:00
..
__init__.py support repositories to manage backends (closes #747) 2012-01-17 17:00:05 +01:00
backend.py Traling whitespace and pep8 cleaning 2014-03-10 20:18:22 +01:00
browser.py add support for videos available at kids.dailymotion.com 2014-03-10 20:18:22 +01:00
favicon.png dailymotion: Funnier logo 2014-01-17 22:53:11 +01:00
pages.py Fix bug dailymotion not playing video with "Server returned 403: Forbidden" 2014-04-21 09:33:31 +02:00
test.py Traling whitespace and pep8 cleaning 2014-03-10 20:18:22 +01:00
video.py Fix empty fields in dailymotion plugin 2014-01-12 12:24:28 +01:00