开发者

URL indexing in Google

开发者 https://www.devze.com 2023-02-12 16:10 出处:网络
I want to check that a specific url is indexed in google using asp开发者_C百科.net. Is google provide any api, webmethod anything regarding this.

I want to check that a specific url is indexed in google using asp开发者_C百科.net. Is google provide any api, webmethod anything regarding this.

Please provide your comments if anybody know about this:

Syed,


You can search Google for

site:www.websiteyouwanttosearch.com

and parse the results for this.


You could use Google's JSON/Atom Custom Search API to accomplish that. Search for a website's address like ?q=www.stackoverflow.com and if you get any results, it's indexed.

To access this API in .NET you can use Google's APIs Client Library for .NET.

According to this answer on SO, it's probably not a good idea to to it without using an official API provided by Google because that would be against their ToS.

0

精彩评论

暂无评论...
验证码 换一张
取 消