smallballz 0 Posted July 23, 2010 Report Share Posted July 23, 2010 hi guys, i'm trying to scrape the title, description and url on the first 5 googl search result. please see the attached file and tell me if it's even possible... many thanks.top5.ubot Quote Link to post Share on other sites
marketermac 0 Posted July 23, 2010 Report Share Posted July 23, 2010 It is possible, but you'll have to scrape the whole page first, then run a loop using the $next list item command 5 times on each of the pieces you scraped and adding that to a new list.Clear out the original list and run it on the next search to get the next top five results. Quote Link to post Share on other sites
smallballz 0 Posted July 23, 2010 Author Report Share Posted July 23, 2010 scraping the titles, description and url separately didn't work so i think i can only grab them whole, can i do something to let ubot remove the unwanted stuff like those seen in the pic here? http://img225.imageshack.us/img225/1681/notto.gif Quote Link to post Share on other sites
smallballz 0 Posted July 26, 2010 Author Report Share Posted July 26, 2010 update: heh i end up using notepad++ on a second run to filter out the extra crap. Quote Link to post Share on other sites
meter 145 Posted July 27, 2010 Report Share Posted July 27, 2010 smallballz, check out using Regex with Javascript. Quote Link to post Share on other sites
smallballz 0 Posted July 27, 2010 Author Report Share Posted July 27, 2010 cool i'll look into it, thanks meter! 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.