How to create an individual search engine?

I want to create my own application for search engines, where all the results are displayed to the user on one page (from Google / Bing, etc.), unlike Google, where it is displayed on different pages.

Is there such an API that can get me all these results?

PS. Am I using C # and considering an interface IEnumeratorfor this?

+5
source share
5 answers

What you can do is extract data from different APIs (bing / google, etc.) and then display it to the user in a single stream. Otherwise, crawling the search engines is completely illegal.

Google Google Custom Search API , API Google .

Bing API.

0

, API-, , , . , Bing Live Search API ( , ), Google Web Search API. , Yahoo BOSS, . , BOSS API, / .

API - Google , - - , , . API , . , .

, html , . , - , . , , , awesome API .

+1

NUTCH. , ?

0

Bing api http://www.bing.com/developers

Google api, . http://code.google.com/apis/websearch/docs/

Google api , , , . - API, Bing's.

For the exact scenario you were talking about, it's best to first parse the number of results, and then continue browsing. You also need to handle errors well, because Google very often concerns the number of results it contains.

0
source

im works in one project. Generate sitemap

 private void SubmitSitemap(string PortalName)
    {
        //PING SEARCH ENGINES TO LET THEM KNOW WE UPDATED OUR SITEMAP

        //resubmit to google

        System.Net.WebRequest reqGoogle = System.Net.WebRequest.Create("http://www.google.com/webmasters/tools/ping?sitemap=" + HttpUtility.UrlEncode("http://your path'" + PortalName + "'/sitemap.xml"));
        reqGoogle.GetResponse();

        //resubmit to ask

        System.Net.WebRequest reqAsk = System.Net.WebRequest.Create("http://submissions.ask.com/ping?sitemap=" + HttpUtility.UrlEncode("http://your path + "'/sitemap.xml"));
        reqAsk.GetResponse();

        //resubmit to yahoo

        System.Net.WebRequest reqYahoo = System.Net.WebRequest.Create("http://search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=YahooDemo&url=" + HttpUtility.UrlEncode("http://yourpath/sitemap.xml"));
        reqYahoo.GetResponse();

        //resubmit to bing

        System.Net.WebRequest reqBing = System.Net.WebRequest.Create("http://www.bing.com/webmaster/ping.aspx?siteMap=" + HttpUtility.UrlEncode("http://yourpath + "'/sitemap.xml"));
        reqBing.GetResponse();

    }


 Create a file robots.txtand put it in your root directory. A friendly name and other problems are also not suitable for this purpose.

0
source

All Articles