Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
get-url option not working #303
Comments
|
As you can see from the error message That is because youtube expects the request to come from the same IP that executed youtube-dl, and come with the same cookies. Use the |
Option --get-url seems not to be working.
Example:
$ ./youtube-dl --get-url http://www.youtube.com/watch?v=OX36Vy5qfPU
http://v13.lscache3.c.youtube.com/videoplayback?sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cexpire&fexp=912209%2C909708%2C906503%2C910210&itag=22&ip=0.0.0.0&signature=965D1B8CC9A85EB9CAE01E594528CB881DA2C743.872EF0902BCDE2797505AB509899BB00158421F4&sver=3&ratebypass=yes&source=youtube&expire=1330933493&key=yt1&ipbits=0&cp=U0hSRVlOUV9OTUNOMl9RSFVFOmJ3S3hBcmNDMEFM&id=397dfa572e6a7cf5
When I try to open the link:
$ wget --spider "http://v13.lscache3.c.youtube.com/videoplayback?sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cexpire&fexp=912209%2C909708%2C906503%2C910210&itag=22&ip=0.0.0.0&signature=965D1B8CC9A85EB9CAE01E594528CB881DA2C743.872EF0902BCDE2797505AB509899BB00158421F4&sver=3&ratebypass=yes&source=youtube&expire=1330933493&key=yt1&ipbits=0&cp=U0hSRVlOUV9OTUNOMl9RSFVFOmJ3S3hBcmNDMEFM&id=397dfa572e6a7cf5"
Spider mode enabled. Check if remote file exists.
--2012-03-05 02:49:36-- http://v13.lscache3.c.youtube.com/videoplayback?sparams=cp%2Cid%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cexpire&fexp=912209%2C909708%2C906503%2C910210&itag=22&ip=0.0.0.0&signature=965D1B8CC9A85EB9CAE01E594528CB881DA2C743.872EF0902BCDE2797505AB509899BB00158421F4&sver=3&ratebypass=yes&source=youtube&expire=1330933493&key=yt1&ipbits=0&cp=U0hSRVlOUV9OTUNOMl9RSFVFOmJ3S3hBcmNDMEFM&id=397dfa572e6a7cf5
Resolving v13.lscache3.c.youtube.com... 188.93.174.12, 2a00:1450:4001:1a::10
Connecting to v13.lscache3.c.youtube.com|188.93.174.12|:80... connected.
HTTP request sent, awaiting response... 403 Forbidden
Remote file does not exist -- broken link!!!