Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: WWW::Mechanize text field

by n8g (Sexton)
on Sep 18, 2007 at 15:25 UTC ( [id://639675]=note: print w/replies, xml ) Need Help??


in reply to Re^2: WWW::Mechanize text field
in thread WWW::Mechanize text field

You should be able to set the serverSpec field as well even though it is hidden. My suggestion would be to check the headers to see if the server value changes often. If it appear to be the same it may be used to switch servers for testing or other purposes. If it changes often it is more likely used for load balancing. If it appears to be static you could just set the field to that value in your script. If it seems to change frequently you could still do that using one of the values. However but if it is used for load balancing you are doing an end run around it. If this script will be used a lot that would be impolite to say the least. The best approach in that case would be to find a way to get the dynamic value each time the script is run.

Replies are listed 'Best First'.
Re^4: WWW::Mechanize text field
by Anonymous Monk on Sep 19, 2007 at 08:27 UTC
    Thank you both for your help. I managed it with tamper data extension and direct link to my page of interest. Setting serverSpec directly didn't work.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found