Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^4: scraping ASP page, __VIEWSTATE problem

by mdupont (Scribe)
on Nov 21, 2010 at 16:06 UTC ( #872796=note: print w/ replies, xml ) Need Help??

in reply to Re^3: scraping ASP page, __VIEWSTATE problem
in thread scraping ASP page, __VIEWSTATE problem

I am having a problem with a new site, and need your help. The main entry point is here The webpage does not respond at all to my post,

Here is my current revision : BZR Repo copy

Unfortunately I cannot get it to work, and I get no debug message back from the server.

The server I am trying to interface is here : form you can call it like this :

perl --fname=John --lname=Smith--dob=12 --mob=Pri + --yob=1980
The code dumps out the all the data need when you run it. Here is the output from tamper when I run it in firefox. tamper data Here is the log file : Log File Any tips or help would be appreciated.



Comment on Re^4: scraping ASP page, __VIEWSTATE problem
Download Code
Replies are listed 'Best First'.
Re^5: scraping ASP page, __VIEWSTATE problem
by Corion (Pope) on Nov 21, 2010 at 16:18 UTC

    As usual, track with Wireshark the difference between what your Perl script sends and what your browser sends when you access the page with it.

    Also, consider just automating the page using WWW::Scripter or WWW::Mechanize::Firefox, both of which know how to handle Javascript.

      Thanks Corion,

      It shows from wireshark that the post is not even connecting at all. Seems to be a problem. The send handlers shows that it tries, but the connection times out. Strange.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://872796]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2015-11-27 15:44 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls