Legend 181 Posted January 23, 2012 Report Share Posted January 23, 2012 I'm trying to scrape all the urls containing the text "studyguide" but am having no luck. Anyone see the problem? navigate("http://www.bookrags.com/browse/studyguides/", "Wait")click(<class="arialr">, "Left Click", "No")clear table(&urls)loop while($scrape attribute(<innertext="Next 50 ››">, "innertext")) { scrape table(<href=w"*studyguide*">, &urls)} Thanks!http://ubotstudio.com/forum/public/style_emoticons/default/smile.gif Quote Link to post Share on other sites
JohnB 255 Posted January 23, 2012 Report Share Posted January 23, 2012 Try this: navigate("http://www.bookrags.com/browse/studyguides/", "Wait")click(<class="arialr">, "Left Click", "No")loop while($exists(<innertext="Next 50 ››">)) { add list to list(%urls, $scrape attribute(<href=w"/studyguide*/">, "fullhref"), "Delete", "Global") click(<innertext="Next 50 ››">, "Left Click", "No") wait(4)} John Quote Link to post Share on other sites
Legend 181 Posted January 23, 2012 Author Report Share Posted January 23, 2012 Awesome! Thanks again John... you rock!! http://ubotstudio.com/forum/public/style_emoticons/default/smile.gif 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.