Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4267744
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T06:56:29+00:00 2026-05-21T06:56:29+00:00

I like to retrieve and store the values of an HTML table from a

  • 0

I like to retrieve and store the values of an HTML table from a Web site which uses some Javascript and has an URL which ends on .aspx, by writing a Web crawler in Perl.

The Web site provides some data on election results.

You have a search form with two options as drop down menus, Province provlist and City/Municipality munlist.

  • You choose the Province. The web page gets reloaded to the same URL and changes the list of available options of the second drop down menu, i.e. City/Municipality.
  • Now you can choose your City/Municipality and after clicking the button SEARCH, a HTML table becomes visible with the results.

I like to retrieve all these tables and their results.

I like to do it with Perl, however so far I have only written very small/simple scripts. It would be very helpful if you have some general informations on how I should start this task.

  1. I have used some of the WWW::Mechanize functions before, only a few though. Can I do this job with the WWW::Mechanize functions, are these functions sufficient? Or do I need additional packages?
  2. The FAQ for WWW::Mechanize states that it has some problems with Javascript. However, in another post I read it may be possible to avoid the this Javascript. Does the called Javascript function for one of the drop down menus cause a problem?

    <select name="provlist" onchange="javascript:setTimeout('__doPostBack(\'provlist\',\'\')', 0)" id="provlist" tabindex="1">
    
  3. How troublesome is the ASPX framework?

As I have said before, I only have a little experience with writing Perl crawlers, so any information/hints/etc. you can provide are highly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T06:56:30+00:00Added an answer on May 21, 2026 at 6:56 am
    1. It’s sufficient.
    2. The form degrades okay without Javascript. Submit the form once with a different provlist item, e.g. AGUSAN DEL NORTE, and the response page will have the appropriate munlist (BUENAVISTA, etc.), and the form will be set to the first item of the list, and the table will have the data for the first item.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some small programs in Python, I would like to set, store and retrieve
I need to store a set of values which I get from my C#
I am getting some info from web server like this. 970, Aditya2, B, JNTU1,
I'm trying to store a password in a file that I'd like to retrieve
I have a store with items retrieved from server. I would like to detect
I would like to retrieve at runtime the values for the dialect and connection.driver_class
I'd like to retrieve data from a specific webpage by using urllib library. The
I would like to retrieve the AppSetting key from the assembly config file called:
I would like to store multiple values for a single key and must be
So basically, I have this content provider which I use to store and retrieve

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.