in reply to Tricking website into thinking your a browser
If you don't get the text you see with your browser, what do you see instead?
I tried that with LWP::Simple and left out the HTML::Parse and HTML::FormatText parts, and it looks quiet ok.
So, what is the result you are getting?
If you want to set the UserAgent string, you should use LWP::UserAgent instead of LWP::Simple.
|
|---|