Click here to Skip to main content
12,401,832 members (61,695 online)
Rate this:
 
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 10:26am
Updated 5-Nov-12 10:52am
v2
Comments
   
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
Mathlab 5-Nov-12 16:55pm
   
Do you just want a page search or to search the entire web?
Rate this: bad
 
good
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.
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)
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

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
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 5 Nov 2012
Copyright © CodeProject, 1999-2016
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