Re: 403 Forbidden with youtube plugin
Dan Schmidt <[email protected]>
| Newsgroups | gmane.comp.video.freevo.user |
|---|---|
| Message-ID | <[email protected]> |
Line 368 in mine, are you using an old youtube.py?
On 04/10/2011 10:48 PM, Yodaz wrote:
> Le lundi 11 avril 2011 01:58:41 Dan Schmidt, vous avez écrit :
>> Were you able to get it to work in Freevo?
>>
> Yes.
> Here's a quick'n'dirty solution :
>
> Edit the file FREEVO_INSTALL_DIR/video/plugins/youtube.py
> At line 218, change
> cmd = config.YOUTUBE_DL + ' -g "http://www.youtube.com/watch?v=' + arg[1] + '"'
> by
> cmd = config.YOUTUBE_DL + ' ' + config.YOUTUBE_DL_OPTS + ' -g "http://www.youtube.com/watch?v=' + arg[1] + '"'
>
> Then edit ~/.freevo/local_conf.py and add youtube plugin with options :
> YOUTUBE_DL = "/usr/bin/youtube-dl"
> YOUTUBE_DL_OPTS = "--cookies /tmp/youtube.cookie"
> YOUTUBE_VIDEOS = [
> ("A user", "a description")
> ]
>
> Finally, you have to edit ~/.mplayer/config to set the cookie option :
>
> cookies=1
> cookies-file=/tmp/youtube.cookie
>
> Does it works for you ?
>
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Freevo-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
>
------------------------------------------------------------------------------
Forrester Wave Report - Recovery time is now measured in hours and minutes
not days. Key insights are discussed in the 2010 Forrester Wave Report as
part of an in-depth evaluation of disaster recovery service providers.
Forrester found the best-in-class provider in terms of services and vision.
Read this report now! http://p.sf.net/sfu/ibm-webcastpromo