Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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

Replies are listed 'Best First'.
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 cooling their heels in the Monastery: (9)
As of 2016-07-01 13:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (412 votes). Check out past polls.