Click here to Skip to main content
15,885,880 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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
Updated 5-Nov-12 10:52am
v2
Comments
Sergey Alexandrovich Kryukov 5-Nov-12 16:28pm    
All Web sites? No, too many... How about almost all? :-)
--SA
Cyberwarfare 5-Nov-12 16:52pm    
Okay sorry I improved my question now please hope you all understand
[no name] 5-Nov-12 16:55pm    
Do you just want a page search or to search the entire web?

This looks like something called Web scraping: http://en.wikipedia.org/wiki/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[^].

—SA
 
Share this answer
 
You can use either Bing API or Google API to perform the search for a keyword and list your websites (results)

for bing.
http://www.bing.com/developers/s/APIBasics.html[^]

for google
https://developers.google.com/custom-search/v1/overview[^]

You use these APIs from anywhere, windows forms, wpf, silverlight or asp.net.

if you already have a page listing the content that you need to scrap, then use Sergey's approach (above)
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900