Download Every File of a Certain Extension on a Site

Today I was editing some video for Youtube and was looking for some free stock music. I ended up at a site I’ve seen many times before, DanoSongs.com, but haven’t really ended up using since finding a song involves going through a long list and playing them in an embedded player and then downloading the one you want. What I wanted to do was download every MP3 and put them in a folder that I have full of stock music and then when inside my video editing software I can preview it along with the rest. So here’s the command I used:

wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off http://www.danosongs.com/

This is of course done with wget, a powerful command line utility for Linux. To tweak the command all you need to do is replace the URL with the page you’d like to scrape and then replace “mp3″ with whatever file you’d like to grab. So you could easily scrape a page for all .png files or .docx files if you wanted.

Enjoy

Tags: , , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
read comments

Uninstalling Visual Studio’s Productivity Power Tools

Took me far too long to find this option. Powertools had some annoying quirks that I just couldn’t get passed and I wasn’t using any of it’s good features. Plus either it or the SP1 upgrade has left Visual Studio 2010 in a less than stable state, I find it crashing several times a day. So today I have removed Productivity Power Tools using the following method:

Tools -> Extension Manager -> Productivity Power Tools -> Uninstall

Tags: , , , , , , ,

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
read comments

Converting ACSM files to ePub for the Sony eReader

I was fortunate to be gifted a Sony eReader (PRS-T01) for the holiday season and have so far spent much more time playing with the damn thing than I have reading books on it. I have been plugging away at the first Game of Thrones book as well but today I decided to buy another one for more casual reading. Unfortunately this book did not come as an ePub file or even a PDF, as I am used to, but rather a ACSM file. I did not realize this until after I had paid for it and downloaded it. Now the file did launch the Sony eReader software when double clicked but I don’t use that software, rather Calibre, and wanted to import it there. It would not recognize the file so I was forced to find a method to convert it.

After some research I was told to first install Adobe’s Digital Edition. This is not ideal as it involves yet another program, and a crappy flash one at that, but it was my only option. Once installed I was able to open the ACSM file which then downloaded the book. It turns out that this file is not really the eBook itself, but rather a voucher for the actual book which you can only redeem using Adobe’s software. After it has been downloaded I suggest you close the program and never revisit it unless to fetch another ACSM as it is terrible. It will reveal to you no method to access the ePub file it just downloaded, but alas it has done just that. You will now find an ePub file in your My Documents folder under My Digital Editions. Take that file and import it to Calibre, and go ahead and delete Adobe Digital Editions after that.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Twitter
  • RSS
read comments
 Page 1 of 51  1  2  3  4  5 » ...  Last »