Forums

    10 posts

  • avatar
    0 sounds
    1 post
    Downloading using wget and similar tools


    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. sad

    Anyone got a recipe that makes this work?

    Thanks!

  • avatar
    0 sounds
    3 posts


    Same problem here. How to download using wget etc? I gave username/password but still didn't work.

  • avatar
    0 sounds
    4 posts


    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?

  • avatar
    995 sounds
    872 posts


    I understand that our sounds and licences are still safe here. smile

    To hear, you first have to listen
  • avatar
    0 sounds
    4 posts


    klankbeeld wrote:
    I understand that our sounds and licences are still safe here. smile

    I don't understand that response. Do you not want people to use them?

  • avatar
    1118 sounds
    402 posts


    davidmaxwaterman wrote:
    Is there no way to download these files without registering and logging in?

    You can mirror files. You should probably do so anyway, since there is a wide variety of formats available here and as far as I experienced it, only 44100Hz or 44800Hz Mono or Stereo mp3 or vorbis files work well in browsers. Of course then you're in the situation of having to follow the license, which is what you wanted to avoid in the first place...

    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.

    Click here to lend your support to: Freesound 2011 donations and make a donation at www.pledgie.com !
    Donate to Freesound.org
    so it can serve even more and better sounds to you in the future!
  • avatar
    121 sounds
    1545 posts


    Why not use our API for this sort of thing?

    - bram

    Warning: if you break the rules, see my avatar. Freesound Admin, Moderator, Ex-Freesound-Coder & Benevolent Dictator For Life.
  • avatar
    0 sounds
    4 posts


    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.

  • avatar
    0 sounds
    4 posts


    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.

  • avatar
    121 sounds
    1545 posts


    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, wink ), 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

    Warning: if you break the rules, see my avatar. Freesound Admin, Moderator, Ex-Freesound-Coder & Benevolent Dictator For Life.

    10 posts