C#: How to scrape search results?

Status
Not open for further replies.

kytro360

Member
Original poster
member
Joined
Sep 9, 2009
Posts
376
Reaction score
6
Points
75
Hello I was wondering how would one scrape search results. It doesnt matter from which search engine, thanks :)

Bump.....................
 

nathan72389

Old School
old school
member
Joined
Feb 12, 2010
Posts
68
Reaction score
31
Points
6
i dunno if your interested in using the google api, but i did a simple example on using it.

5-3-2011-7-35-51-am.png


mine was in vb.net but the c# conversion shouldent be that much more difficult.
(not advertising) heres the link to the source of that app :
http://nathan72389.wordpress.com/20...ting-google-results-using-googles-api-source/


but uh, if you just wanted a really rough way of harvesting google results, just search for it then filter out any links that start with "google" and then you will have almost every link (search result) on the first page
 
  • Like
Reactions: Ace12 and kytro360

kytro360

Member
Original poster
member
Joined
Sep 9, 2009
Posts
376
Reaction score
6
Points
75
Awesome thanks. Another question whats the code once the results are in a listbox for example my bot goes through each one and does a certain predefined action?
 
Status
Not open for further replies.