Jump to content
UBot Underground

Newbie question- Scraping a Tweet Button?


Recommended Posts

Hey guys. I'm trying to scrape the html from a Twitter button. I would like to just be able to click on the button but because it opens up a new window I don't think this is possible. So I'm trying to scrape the html from the button then navigate to that html. I keep getting a series of errors and I have no clue what I'm doing wrong. Could someone try this code or let me know a better way to go about this? I've been on it most of the day. 

 

The image is the tweet button-

 

navigate("http://www.kickstarter.com/projects/1159353221/feminist-pop-up-festival?ref=category""Wait")
wait for browser event("Page Loaded""")
clear list(%tweet)
add item to list(%tweet$scrape attribute(<image="___IMAGE___1___IMAGE___">"href"), "Delete""Global")
wait(3)
navigate($list item(%tweet$next list item(%tweet)), "Wait")

Link to post
Share on other sites

I am pretty sure you can't scrape using image recognition. You need select an element on the page. Is the button you are trying to scrape the same one as the follow one at the bottom of the page or do you have to be logged into twitter to see it?

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...