We've sent a verification link by email
Didn't receive the email? Check your Spam folder, it may have been caught by a filter. If you still don't see it, you can resend the verification email.
Started April 20th, 2009 · 10 replies · Latest reply by Bram 11 years, 5 months ago
Hello,
I'd like to download selected files using wget, curl or aria2.
I can't get at the downloads with them, probably because the server requires some cookie.
Anyone got a recipe that makes this work?
Thanks!
I have another use-case where the need to log in is obstructive.
I am developing an html5 application that has several targets. I currently have downloaded them and have them as a static part of my application. However, I am attempting to use bower to free myself from the need to consider the legal implications of including other peoples' work, and push that work onto whomever actually builds the app for whatever target.
I've done this with font files, for example, as well as the javascript libraries that bower is more usually used for.
However, it isn't acceptable to have to 'hard wire' my account details into the application, even if that would work (which, based on the comments in this thread, it seems as if it wouldn't).
Is there no way to download these files without registering and logging in?
I understand that our sounds and licences are still safe here.
klankbeeld wrote:
I understand that our sounds and licences are still safe here.
I don't understand that response. Do you not want people to use them?
davidmaxwaterman wrote:
Is there no way to download these files without registering and logging in?
If you have trouble interpreting the licenses, feel free to ask on the legal subforum.
If you don't have the time to invest into license research, I recommend to ask a lawyer.
If you don't have the resources to ask a lawyer, I recommend to not use the files.
Hope this helps.
Converting files is trivial and can be done as a build step. The only issue this requirement is solving, as I see it, is avoiding unnecessary load on the server...is that it?
qubodup wrote:
If you don't have the resources to ask a lawyer, I recommend to not use the files.Hope this helps.
Yes, it seems I will follow the last piece of advice. I'm really not interested in the legal stuff, and the legal steps aren't all that is necessary in my case (since I have a process enforced upon me).
However, the comment about an API is interesting and I'll look into that.
Bram wrote:
Why not use our API for this sort of thing?- bram
I had a look and it still requires authentication and so identifies me with the resources and not the builder.
I want to just do like I do for fonts, eg :
$ bower install http://www.fontsquirrel.com/fonts/download/Commando
bower downloading http://www.fontsquirrel.com/fonts/download/Commando
bower extracting /tmp/bower-Commando-3282zu3t1c/index.zip
bower installing Commando
I'm not sure why sound files are considered differently, but I'm surely not going to convince anyone to change, so I'll shut up and move along.
Ah... Then I suppose you're out of luck. The mp3 and ogg (low and high quality) previews are public URLs hat don't need authentication:
For example:
http://www.freesound.org/people/Bram/sounds/187839/
Previews are at:
-> http://www.freesound.org/data/previews/187/187839_2-lq.ogg
-> http://www.freesound.org/data/previews/187/187839_2-hq.ogg
-> http://www.freesound.org/data/previews/187/187839_2-lq.mp3
-> http://www.freesound.org/data/previews/187/187839_2-hq.mp3
The "187" directory is just the (ID of the file) / 1000. This is to prevent ourselves from storing massive amounts of data in one directory on the machine. The "2" is more difficult, it's my ID (yes, I have ID number 2 in the database, ), you could possibly scrape that from the HTML source of the sound page.
If you app doesn't require the originals that might be your ticket...
Don't forget to attribute though!
- bram