I use this script to download new mp3‘s into a directory. I then copy the files onto my mp3 player and listen to them during my commute. When I‘m need a recharge of new mp3s, I re-run the script to get more podcasts.
I use this script to download new mp3‘s into a directory. I then copy the files onto my mp3 player and listen to them during my commute. When I‘m need a recharge of new mp3s, I re-run the script to get more podcasts.
Comments (3)
Very useful script. It would be nice to be able to specify the list of download sites via command line, so one wouldn‘t need to modify the script at all.
I can see your point. I had changed the initial implementation because it also embedded the download directory. And that seemed a bit awkward to need to first edit the script prior to use. Although unless you like exactly the sites I like (unlikely) then you need to modify the list of sites too.
It also has another wart, it creates a ‘downloadHistory.groovy‘ file. It should probably put that somewhere like $(user.home)/.downloadHistory
$(user.home)/.downloadHistory looks right to me.