Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Connection and Fetching

by dave_the_m (Monsignor)
on May 06, 2004 at 11:14 UTC ( [id://351066]=note: print w/replies, xml ) Need Help??


in reply to Connection and Fetching

If i connect to a website with LWP::UserAgent and fetch the whole website, does it count as if i've "entered" it in a browser ?
Depends. If the website contains swallows, then the browser may download the European variety, while LWP::UserAgent will get the African ones. To get round this, you need to specify this in the setup stage:
$ua->type('European'); $ua->using('Coconuts'); $ua->dorsal_fin->tie();
Of course this still won't help if your connection is lighter than a duck.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-24 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found