I have a URL say www.someurl.com/blah.xml.
I want to write a python script that goes to that URL, gets its contents, and saves it to a file on the local hard disk. Not sure what the best way of going about this or if any recommended libraries are necessary for this kind of thing.
Something like this:
Then you could maybe make a cron job to run every five minutes. At the terminal, type
crontab -eand make a line that says:I’m not an expert with crontabs, so someone correct that if I’m wrong.