Need to set up an automatic download because humans are forgetful and lazy.
June 17, 2010 11:50 AM Subscribe
I'm looking to do an automated download from a website that requires a login and clicking a javascript button and the usual tricks are failing me. Ideas?
We've got to pull a file overnight every weekday from a website where the data is posted. The site itself requires a login/password, and then once you're in, you get a table with the most recent file being the same element on top.
This is an unusual one for us as every other place we download data of this nature from provides us an sftp site to pull it from, but these guys don't. They know we are going to automate the process and they're fine with that, but also they're also taking the "it's good enough for everyone else" position and not willing to help automate it.
In similar situations I've used wget, but it doesn't seem to be the tool for the job here. The login plus the javascript button are frustrating my attempts to use it. Anyone have any ideas? Something that can be run from a cronjob is ideal.
posted by barc0001 to computers & internet (13 answers total) 2 users marked this as a favorite
posted by TomMelee at 12:08 PM on June 17, 2010