403 Forbidden with youtube plugin
Yodaz <[email protected]>
| Newsgroups | gmane.comp.video.freevo.user |
|---|---|
| Message-ID | <[email protected]> |
Hi !
I try to get youtube plugin working. When I search a video, video thumbnails display fine, but when I choose one video, I only see a blink screen, then I return to thumbnails view.
I switch freevo to debug mode, and it appears that mplayer is called, but receive a "403 Forbidden" from youtube server.
Here's the freevo debug log :
2011-03-29 06:01:23,054 DEBUG mplayer.py (147): MPlayer.play(): mode=http, url=http://v6.lscache4.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0hPRlNUVF9FSkNOOV9LTlhF&fexp=906335%2C904532%2C904716%2C907301&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&signature=2647BD39BAB20B920778A5484019FAC159C2DB7C.6368D450E63FCC7476EBE56D51973986308721CC&expire=1301396400&key=yt1&ip=0.0.0.0&factor=1.25&id=e5710de2fb47e087
2011-03-29 06:01:23,055 DEBUG mplayer.py (165): mode=video args=-vf pp=de/fd -cache 5000
And if I try mplayer [url] from command line :
$ mplayer "http://v6.lscache4.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0hPRlNUVF9FSkNOOV9LTlhF&fexp=906335%2C904532%2C904716%2C907301&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&signature=2647BD39BAB20B920778A5484019FAC159C2DB7C.6368D450E63FCC7476EBE56D51973986308721CC&expire=1301396400&key=yt1&ip=0.0.0.0&factor=1.25&id=e5710de2fb47e087"
MPlayer SVN-r32792-4.5.2 (C) 2000-2011 MPlayer Team
161 audio & 351 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing http://v6.lscache4.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0hPRlNUVF9FSkNOOV9LTlhF&fexp=906335%2C904532%2C904716%2C907301&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&signature=2647BD39BAB20B920778A5484019FAC159C2DB7C.6368D450E63FCC7476EBE56D51973986308721CC&expire=1301396400&key=yt1&ip=0.0.0.0&factor=1.25&id=e5710de2fb47e087.
Resolving v6.lscache4.c.youtube.com for AF_INET6...
Couldn't resolve name for AF_INET6: v6.lscache4.c.youtube.com
Resolving v6.lscache4.c.youtube.com for AF_INET...
Connecting to server v6.lscache4.c.youtube.com[74.125.160.31]: 80...
Server returned 403: Forbidden
STREAM_ASF, URL: http://v6.lscache4.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0hPRlNUVF9FSkNOOV9LTlhF&fexp=906335%2C904532%2C904716%2C907301&algorithm=throttle-factor&itag=34&ipbits=0&burst=40&sver=3&signature=2647BD39BAB20B920778A5484019FAC159C2DB7C.6368D450E63FCC7476EBE56D51973986308721CC&expire=1301396400&key=yt1&ip=0.0.0.0&factor=1.25&id=e5710de2fb47e087
I'm using Arch linux with kernel 2.6.32-lts, and freevo 1.9.0-5 package, with youtube plugin from svn (because I saw current 1.9.2 plugin was broken. I replace the files youtube.py and youtube_dl.py with svn version)
The youtube-dl script is from Arch, from community repository, and in version 2011.02.25c
Thanks in advance for your help.
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf