JackCrow 4 Posted April 7, 2013 Report Share Posted April 7, 2013 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") Quote Link to post Share on other sites
JackCrow 4 Posted April 7, 2013 Author Report Share Posted April 7, 2013 is my question so dumb that it's not even worth answering? Quote Link to post Share on other sites
ds062692 19 Posted April 8, 2013 Report Share Posted April 8, 2013 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? Quote Link to post Share on other sites
JackCrow 4 Posted April 9, 2013 Author Report Share Posted April 9, 2013 I got it figured out. I'm a dumb-ass. Quote Link to post Share on other sites
blacksabbath 2 Posted April 11, 2013 Report Share Posted April 11, 2013 I'm having the same problem, could you let us know how you did it?I'm a dumbass too and nice cat! Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.