l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
December 2: Social Gathering
Next Installfest:
TBA
Latest News:
Nov. 18: Officers elected
Page last updated:
2006 Apr 10 12:12
Events
 Meetings
 Installfests
 Demos
 Photos
Services
 Library
 LERT
 Jobs
 Documents
Interact
 Mailing Lists
 - Search
 - Archives
 Chat (IRC)
 Social Networks
About Us
 Members
 Projects
 Testimonials
 Call for Speakers
 Why Not MS?
 Finances
 Sponsors

^Home
?Search
?News & RSS
?Calendar
@Contact Us
$Buy Stuff
=Printable


The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Automating web site interaction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Automating web site interaction



On Monday 10 April 2006 13:12, Bruce Wolk wrote:
> Does anyone have a recommendation for some software that I can run as
> a cron job to go to a specific website, autheticate itself on a login
> web page with a userid and password, then go to a specific page on
> the site and mimick a button click?

Try using Perl's WWW::Mechanize library which is also available for 
Python:

[bloom@cat-in-the-hat literature]$ apt-cache search WWW Mechanize
libhttp-recorder-perl - Record interaction with websites
libwww-mechanize-perl - Automate interaction with websites
python-mechanize - stateful programmatic web browsing
python2.3-mechanize - stateful programmatic web browsing
python2.4-mechanize - stateful programmatic web browsing

And for Ruby it's at http://rubyforge.org/projects/mechanize/

HTTP::Recorder looks like it makes it even easier to write 
WWW::Mechanize scripts.

[bloom@cat-in-the-hat literature]$ apt-cache show libhttp-recorder-perl 
Package: libhttp-recorder-perl
<snip the boring parts>
Description: Record interaction with websites
 HTTP::Recorder allows your Perl program to record the interaction with
 websites (SSL and non-SSL). You set HTTP::Recorder as the user agent
 for a proxy, and it will rewrite HTTP responses so that additional
 requests can be recorded.
 .
 The interaction is recorded in a script suitable for WWW::Mechanize. If
 a JavaScript-enabled browser is being used, the script can be examined
 an modified as it is being recorded.

--Ken Bloom

-- 
I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.

Attachment: pgp00000.pgp
Description: PGP signature

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech


LinkedIn
LUGOD Group on LinkedIn
facebook
LUGOD Group on Facebook

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
1105 Kennedy Place, Suite 1, Davis, CA 95616
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
nerdbooks.com
For numerous book donations.