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.



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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2018-06-24 17:48 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.