Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: LWP fails where browser succeeds?

by Anonymous Monk
on Jul 20, 2012 at 00:18 UTC ( [id://982732]=note: print w/replies, xml ) Need Help??


in reply to LWP fails where browser succeeds?

And here's the trace output from LWP:

That can't help, sorry :)

LWP seems to generate "Bad Request" responses.

No, LWP doesn't generate that. It may elicit that response from that particular webserver, but only because that particular webserver , like many, is being too particular.

To sucessfully scrape a website, either use a working browser, or imitate that browser convincingly, this is how to do it

Log In?
Username:
Password:

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

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

    No recent polls found