Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: Perl auto completing forms

by davido (Archbishop)
on Sep 30, 2012 at 01:04 UTC ( #996443=note: print w/ replies, xml ) Need Help??

in reply to Perl auto completing forms

Perl is huge. It's used in a lot of diverse places. Web scraping is huge. It's done all the time. Javascript is huge. It's ubiquitous in the context of the web. WWW::Mechanize doesn't directly handle Javascript. The number of people who have encountered this issue is also huge. It's a highly searchable topic that has been answered many times -- a FAQ (which might explain the beating you're taking in votes right now). And it's also why the POD for WWW::Mechanize has the following:

Please note that Mech does NOT support JavaScript, you need additional software for that. Please check "JavaScript" in WWW::Mechanize::FAQ for more.

In the WWW::Mechanize::FAQ you will find a section titled "JavaScript". There's a good explanation there on how it may be possible to simply provide the proper get/post requests instead of relying on JavaScript parsing to deal with the website. But it also has a subcategory, "Which modules work like Mechanize and have JavaScript support?". You'll find some good suggestions there on how to proceed.


Comment on Re: Perl auto completing forms

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2015-11-26 19:12 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (706 votes), past polls