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

Vimeo #298

Closed
Koeln opened this issue Feb 28, 2012 · 3 comments
Closed

Vimeo #298

Koeln opened this issue Feb 28, 2012 · 3 comments
Assignees

Comments

@Koeln
Copy link

@Koeln Koeln commented Feb 28, 2012

Hi!

-g command still doesn't return any playable video link for vimeo.

Firefox's plugin Unplug does it. This link has some rules relative to vimeo. Take a look if you like.

http://unplug.dbatley.com/releases/201108022339/source/chrome/content/rules.xml

Thanks

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Mar 5, 2012

Please note the -g FAQ here https://github.com/rg3/youtube-dl that tells you to use --cookies.
Also, Vimeo seriously wants you to set a "common" User-Agent otherwise it will reply you 500.

Here is how I got it working.

$ ./youtube-dl -g --cookies cookie_jar.tmp "http://vimeo.com/37749081"
http://vimeo.com/moogaloop/play/clip:37749081/a139448b753cba2abbefdc515a33a4e7/1330953146/?q=hd

$ wget --load-cookies cookie_jar.tmp --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:5.0.1) Gecko/20100101 Firefox/5.0.1" "http://vimeo.com/moogaloop/play/clip:37749081/a139448b753cba2abbefdc515a33a4e7/1330953146/?q=hd"
--2012-03-05 14:13:01--  http://vimeo.com/moogaloop/play/clip:37749081/a139448b753cba2abbefdc515a33a4e7/1330953146/?q=hd
Risoluzione di vimeo.com... 74.113.233.128
Connessione a vimeo.com|74.113.233.128|:80... connesso.
Richiesta HTTP inviata, in attesa di risposta... 302 Found
Posizione: http://av.vimeo.com/90911/218/86814531.mp4?token=1330954082_244d74b220edbd69eed39f7de3bab8be [segue]
--2012-03-05 14:13:02--  http://av.vimeo.com/90911/218/86814531.mp4?token=1330954082_244d74b220edbd69eed39f7de3bab8be
Risoluzione di av.vimeo.com... 77.67.27.57, 77.67.27.48
Connessione a av.vimeo.com|77.67.27.57|:80... connesso.
Richiesta HTTP inviata, in attesa di risposta... 200 OK
Lunghezza: 81999737 (78M) [video/mp4]

Anyway thank you a lot for the link, it will be of serious help for #285

@phihag
Copy link
Contributor

@phihag phihag commented Mar 15, 2012

Unplug seems to have a different, probably better way of finding the URL. I'll compare the results.

@ghost ghost assigned phihag Mar 15, 2012
@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Mar 15, 2012

Now with 2934c2c, merged with #301, the link is exactly of the same type as the one of Unplug.
The link is easily playable in a browser. If you use a downloader, please set a "common" User Agent:
wget --user-agent "Mozilla/5.0 (X11; Linux x86_64; rv:5.0.1) Gecko/20100101 Firefox/5.0.1" \ $(./youtube-dl -g http://vimeo.com/1363091/)

@phihag phihag closed this Mar 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.