I don't know if i should save this but imo there isn't any practical use to this script. If you know the url why not open it in your browser and save it?
Or if you want to save wallpapers, use a program like Download Accelerator Plus (DAP) that allows addition of links to download queue.
That's just my 2 cents