Skip to content
Commit 7a72b94b authored by Vincent Texier's avatar Vincent Texier Committed by Florent
Browse files

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: default avatarVincent Texier <vit@free.fr>
parent ffe1c433
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment