eMusic offers a free track of the day to download. Being a bit lazy or forgetful I wrote a script to download the track for me. To make use of this script you need a computer that runs Perl and cURL. To set up the script to run automatically you ideally need the computer to be permanently switched on and connected to the internet.
Step 1
Download the eMusic download script, unzip it and edit the following lines:
CODE:
-
$username = "name@domain.com";
-
$password = "password";
-
$scriptpath = "/users/name/emusic/";
Then upload to your remote shell account if you are going to run it that way.
Don't forget to make the script executable.
Step 2
Create a 'files' folder in the same place as the script. This is where the mp3's will get downloaded into.
Step 3
If you want to have the script run automatically then you need to set up a cron rule.