Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Windows
Hey all,
I am making a program in which it gets all the websites in one search page and gets the url or those websites then it will show all of the websites in a text box. Not a web browser.
I mean like when Client Enters a search My program will write all the websites names. Using Google. Like imagine in google i enter 'Hello'. Then my tool finds all websites in the page and lists them in a text box
How can i do that
Posted 5-Nov-12 11:26am
Edited 5-Nov-12 11:52am
Sergey Alexandrovich Kryukov at 5-Nov-12 16:28pm
All Web sites? No, too many... How about almost all? :-)
Cyberwarfare at 5-Nov-12 16:52pm
Okay sorry I improved my question now please hope you all understand
Mathlab at 5-Nov-12 16:55pm
Do you just want a page search or to search the entire web?
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

This looks like something called Web scraping:[^].
Please see my past answers explaining what's involved:
How to get the data from another site[^],
get specific data from web page[^].
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

You can use either Bing API or Google API to perform the search for a keyword and list your websites (results)
for bing.[^]
for google[^]
You use these APIs from anywhere, windows forms, wpf, silverlight or
if you already have a page listing the content that you need to scrap, then use Sergey's approach (above)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 7,205
1 DamithSL 5,114
2 Maciej Los 4,866
3 Sergey Alexandrovich Kryukov 4,747
4 Kornfeld Eliyahu Peter 4,474

Advertise | Privacy | Mobile
Web01 | 2.8.141223.1 | Last Updated 5 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100