Google Answers Logo
View Question
Q: PERL program to collect data from a website ( No Answer,   1 Comment )
Subject: PERL program to collect data from a website
Category: Computers > Programming
Asked by: tdkendal-ga
List Price: $40.00
Posted: 20 Oct 2006 10:04 PDT
Expires: 19 Nov 2006 09:04 PST
Question ID: 775390
I need a PERL program that repeatedly queries a website and then
collects data from those queries into a text or Excel file.  I would
need specific instructions on how to adapt the program to a particular
website, as I wish to use it for several different exercises. 
Therefore, I would need to know how to adapt the program to pick up
the sentence listed on line 14 of the website instead of line 16, for
example.  I know a little basic PERL, and general programming, but the
instructions would need to be pretty simple for me.

Clarification of Question by tdkendal-ga on 20 Oct 2006 10:06 PDT
The query would be to choose one element of a pull-down list, and then
click "go".  The site's response might be multiple pages, so the
program should be able to click "next page" as well.
There is no answer at this time.

Subject: Re: PERL program to collect data from a website
From: bg1fmo-ga on 24 Oct 2006 00:43 PDT
you can use lynx to convert html to txt, then everything will be easy
if you know per regex.

pick up
the sentence listed on line 14 of the website

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  

Google Home - Answers FAQ - Terms of Service - Privacy Policy