For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > March 2008 > Automate a search query from a website









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Automate a search query from a website
JBallinger

2008-03-30, 4:43 am

Hi,

I am trying to automate a search query from a website that uses CGI
script to process the query.

I want my script to post a search query to a website, and then parse
the html result from the website back into an output file.

Could someone give me some direction on how to do this? Where should I
start? What tools should I use to do this job?

Here is the website that I am trying to post the query and get the
result back into a file.

http://pngu.mgh.harvard.edu/~purcell/gpc/qtlassoc.html

Thanks.
JB

Gunnar Hjalmarsson

2008-03-30, 8:04 am

JBallinger wrote:
> I am trying to automate a search query from a website that uses CGI
> script to process the query.
>
> I want my script to post a search query to a website, and then parse
> the html result from the website back into an output file.
>
> Could someone give me some direction on how to do this? Where should I
> start? What tools should I use to do this job?


perldoc -q "How do I automate an HTML form submission?"

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com