weboob-devel/weboob
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
..
applications radioob: get rid of magic 2014-04-07 10:33:27 +02:00
capabilities Fix documentation of get_currency 2014-04-02 10:55:45 +02:00
core Add support for BASEURL instead of PROTOCOL+DOMAIN 2014-03-22 12:43:53 +01:00
tools Fix bug dailymotion not playing video with "Server returned 403: Forbidden" 2014-04-21 09:33:31 +02:00
__init__.py PEP8 style fixes and other small style fixes 2012-03-14 04:51:46 +01:00