RabbieBurns Posted February 4, 2010 Posted February 4, 2010 I'm looking for a script that will log into a page (simple form on a http page) and then wget or somehow other parse the page that is displayed, and if the Status changes, send an email. I really dont know how to even start going about it.. I tried going to EduGeek.net but its not a http server user / password its just a simple webform.. Any language is fine on and OS
keithu Posted February 4, 2010 Posted February 4, 2010 There's a perl module called 'mechanize' that can do this. There are also versions for other languages including python and ruby.
powdarrmonkey Posted February 4, 2010 Posted February 4, 2010 You could start with urlwatch and adapt it to send post data to do your login. Feed your changes back upstream though please
RabbieBurns Posted February 4, 2010 Author Posted February 4, 2010 You could start with urlwatch and adapt it to send post data to do your login. Feed your changes back upstream though please Thanks, shall give it a look
browolf Posted February 4, 2010 Posted February 4, 2010 php has wget functionality built into one of its commands, I've used it before, can't remember the name tho.... fetch the contents of the page into a string and then use regular expressions to extract what you need and act accordingly.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now