Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Mimicking Internet Explorer (IE) via LWP or Mechanize?

by Anonymous Monk
on Aug 11, 2010 at 21:28 UTC ( #854517=note: print w/ replies, xml ) Need Help??


in reply to Mimicking Internet Explorer (IE) via LWP or Mechanize?

Here is all the answers ... use wireshark, livehttpheaders ... or WWW::Mechanize::Firefox, WWW::Scripter, or Win32::IE::Mechanize via WINE


Comment on Re: Mimicking Internet Explorer (IE) via LWP or Mechanize?
Re^2: Mimicking Internet Explorer (IE) via LWP or Mechanize?
by dneedles (Sexton) on Aug 11, 2010 at 22:13 UTC
    The issue from the previous post was that WIN32:IE:Mechanize appears to not work correctly with frames. Google and perlmonk searches turned up questions back to 2005 but no real answers. So using WINE won't work

    I guess I could use a sniffer/tracer as the other solutions suggest and hack out a solution but I figured this sort of problem must have come up before. If possible I wanted to save the few days of troubleshooting.

    Is there any provisions in LWP or Mechanize for simulating a particular browser?

    Or any ideas on the original post? - http://www.perlmonks.org/?node_id=854131

    Or is RTF-packets is the only solution here

    Thanks!

      Why don't you go and read the links you've already been given? Also see what WWW::Mechanize has to say about its browser "emulation".

        I already looked and there is a lot about emulating and running javascript but nothing really on emulating IE except Win32:IE:Mechanize - which has the Frame issue. It sounds like this is new territory... I loaded IE Tab Plus on Firefox and will use Firebug to sniff the http headers and see what is triggering the site to detect IE and modify the script accordingly. Thanks anyway. Good redirects, just didn't fit the bill
        Yes - it's possible that if you don't need any IE-specific rendering or Javascript, and don't need to test with an ActiveX control, that straight WWW::Mechanize with agent_alias will suffice. That's enough to lie and say you're IE.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (16)
As of 2014-07-11 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (230 votes), past polls