[weboob] [PATCH 1/1] Fix bug dailymotion not playing video with "Server returned 403: Forbidden"

Flo weboob at flo.fourcot.fr
Mon Apr 21 09:42:39 CEST 2014

Le 19/04/2014 19:07, Vincent Texier a écrit :
> 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.

Applied, thanks a lot!


More information about the weboob mailing list