Jump to content
UBot Underground

Scrolling webpage before scrape => Twitter changes


Recommended Posts

When I go to Twitter, I see 20 odd tweets ready to scrape. But if I scroll to the bottom of the page, it keeps adding more Tweets. Before, I am sure there was a button that you used to click for more tweets, right?

 

So what can you do now? If I want to scrape I sizeable page of tweets, I figure I will need to load the page and then scroll that page a few times, then do the scrape.

 

How do I get ubot to scroll so more tweets are added?

 

Thanks,

 

Jon

Link to post
Share on other sites

I just logged in and it looks like it just keeps loading and loading...you may just have to put in a significant delay and wait for them (i.e. 60 seconds or more)

 

John

Link to post
Share on other sites

run javascript

window.scrollTo(0,document.body.scrollHeight);

delay or wait finish

run it again

window.scrollTo(0,document.body.scrollHeight);

delay or wait finish

 

repeat process as many times as you want till enough are showing.

 

Have fun.

 

TJ

  • Like 2
Link to post
Share on other sites
  • 4 weeks later...

run javascript

window.scrollTo(0,document.body.scrollHeight);

delay or wait finish

run it again

window.scrollTo(0,document.body.scrollHeight);

delay or wait finish

 

repeat process as many times as you want till enough are showing.

 

Have fun.

 

TJ

 

 

I was trying to figure out how to do get javascript to load this..

Now I've to do some regex for friend ids.. to message.

 

thanks TJ!!

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...