Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: To Automate through a Dynamic Page like that of Twitter, Using www:mechanize:firefox

by Matt™ (Acolyte)
on Sep 21, 2012 at 13:49 UTC ( #994908=note: print w/ replies, xml ) Need Help??


in reply to Re: To Automate through a Dynamic Page like that of Twitter, Using www:mechanize:firefox
in thread To Automate through a Dynamic Page like that of Twitter, Using www:mechanize:firefox

Thanks Corion. We need to scroll down the page of twitter in-order to get the next set of 20 tweets, Can we replicate the Scroll down process in WWW::Mechanize::Firefox or, is there any alternate way? Thanks in advance.


Comment on Re^2: To Automate through a Dynamic Page like that of Twitter, Using www:mechanize:firefox
Re^3: To Automate through a Dynamic Page like that of Twitter, Using www:mechanize:firefox
by Corion (Pope) on Sep 21, 2012 at 13:54 UTC

    There is no direct way with WWW::Mechanize::Firefox. But you can run arbitrary Javascript through it, so you can use that to scroll the page down.

    Personally, I would look at what function gets called to load more information.

    Also, you are certainly aware of the Twitter API and/or Net::Twitter?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-11-27 13:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (184 votes), past polls