Otts 4 Posted September 22, 2013 Report Share Posted September 22, 2013 I want to scrape multiple names on ask.fm, i cant get the code right. I could do it on twitter, but this one is harder for me say i navigate to: http://ask.fm/search/name?q=xbox2 I want to scrape all of the names "@...." then save to desktop. but i cant do it, Quote Link to post Share on other sites
LazyBotter 188 Posted September 22, 2013 Report Share Posted September 22, 2013 This should do it, navigate("http://ask.fm/search/name?q=xbox2", "Wait") wait for element(<id="footer-language">, 20, "Appear") set(#Document, $document text, "Global") clear list(%IDs) add list to list(%IDs, $list from text($find regular expression(#Document, "@.*?(?=(<\\/span>|<\\/a>))"), $new line), "Delete", "Global") set(#Document, "", "Global") Carl 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.