Scripts Thread, script to log into a webpage and wget and parse content in Coding and Web Development; I'm looking for a script that will log into a page (simple form on a http page) and then wget ...
4th February 2010, 05:28 AM #1
script to log into a webpage and wget and parse content
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
IDG Tech News
4th February 2010, 11:00 AM #2
There's a perl module called 'mechanize' that can do this. There are also versions for other languages including python and ruby.
4th February 2010, 11:09 AM #3
You could start with urlwatch and adapt it to send post data to do your login.
Feed your changes back upstream though please
4th February 2010, 11:21 AM #4
Thanks, shall give it a look
Originally Posted by powdarrmonkey
4th February 2010, 12:11 PM #5
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.
By triggmiester in forum Coding
Last Post: 18th June 2010, 01:48 PM
By burgemaster in forum Scripts
Last Post: 12th June 2009, 03:06 PM
By Tony_Mc in forum Internet Related/Filtering/Firewall
Last Post: 16th March 2009, 11:25 AM
By maniac in forum Web Development
Last Post: 14th February 2008, 03:50 PM
Last Post: 16th December 2007, 07:26 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)