RATPFINK 3 Posted January 20, 2013 Report Share Posted January 20, 2013 Here is an example of what I am trying to scrape: <a href="http://weblist.me/rosicki-rosicki-and-associates" class="l" onmousedown="return rwt(this,'','','','11','AFQjCNFAL7WEMB5grBxW3KjMa0BKq29oog','','0CC8QFjAAOAo','','',event)"><em>Rosicki Rosicki and Associates</em></a> In this case I would need 11. Everything I've tried however returns all numbers in the innertext. As always thanks in advance. Quote Link to post Share on other sites
gabel 51 Posted January 20, 2013 Report Share Posted January 20, 2013 did a quick test and i came up with this add list to list(%position, $find regular expression($scrape attribute(<outerhtml=w"<h3 class=\"r\">*onmousedown=\"return rwt*">, "innerhtml"), "(?<=onmousedown=\"return\\ rwt\\(this,\'\',\'\',\'\',\').*?(?=\',\')"), "Delete", "Global") 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.