Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

youtube-dl -g generates URL that returns 403? #47

Closed
thegroove opened this issue Dec 24, 2010 · 1 comment
Closed

youtube-dl -g generates URL that returns 403? #47

thegroove opened this issue Dec 24, 2010 · 1 comment

Comments

@thegroove
Copy link

Hi,

A few weeks ago, I started to get 403: Forbidden errors when feeding the URL I got with youtube-dl -g to mplayer.

A sample URL:

http://v8.lscache3.c.youtube.com/videoplayback?ip=0.0.0.0&sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Calgorithm%2Cburst%2Cfactor%2Coc%3AU0dYSFJPV19FSkNNOF9KSUFH&fexp=909303%2C907048&algorithm=throttle-factor&itag=35&ipbits=0&burst=40&sver=3&expire=1293249600&key=yt1&signature=1E9F33903B75FA54A3EF8B40E963915FA82C73FE.09936E18403B1DE582637657E6D53CA6077C1984&factor=1.25&id=e5a8f27215d95722

The youtube URL in this case: http://www.youtube.com/watch?v=5ajychXZVyI

Is there anything wrong with this URL, bad encoding maybe? Youtube-dl without the -g option happily downloads the file. I couldn't confirm that the URL -g is printing is in fact the same youtube-dl is using internally. Or could this be a browser string issue, where mplayer isn't sending one, causing youtube to reject it as a client? In that case it doesn't really have anything to do with youtube-dl, of course.

y the way, youtube-dl is a great tool, together with mplayer it gives me back a lot of the control people used to have, i.e. deciding where to put the video window, resizing it, using my own shortcut keys, the list goes on.. and it allows me to minimize the use of the Flash plugin.. so thanks a lot!

@thegroove
Copy link
Author

This seems to be a dupe of https://github.com/rg3/youtube-dl/issues/issue/41
The suggested workaround works for me. Sorry for the dupe!

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant