Google Suggest spell checker
Posted | archive
请求:
POST https://www.googleapis.com/rpc HTTP/1.1
Host: www.googleapis.com
Connection: keep-alive
Content-Length: 159
Content-Type: application/json
{"method":"spelling.check","apiVersion":"v1","params":
{"text":"cchrome","language":"en","originCountry":"USA",
"key":"AIzaSyCLlKc60a3z7lo8deV-hAyDU7rHYgL4HZg"}}
返回:
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Date: Fri, 01 Feb 2013 07:01:26 GMT
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Content-Length: 209
Server: GSE
{
"result": {
"spellingCheckResponse": {
"misspellings": [
{
"charStart": 0,
"charLength": 7,
"suggestions": [
{
"suggestion": "chrome"
}
]
}
]
}
}
}
看来是没法利用了。shit。
更新:
似乎可以利用。那个API Key似乎又是可以用的
https://www.google.be/complete/search?sugexp=chrome,mod=17&client=chrome&hl=nl&q=about&sugkey=AIzaSyCLlKc60a3z7lo8deV-hAyDU7rHYgL4HZg
["about",["http:\/\/www.imdb.com\/title\/tt0276751\/","about cherry","about a boy"],["About a Boy (2002) - IMDb","",""],[],{"google:suggesttype":["NAVIGATION","QUERY","QUERY"],"google:suggestrelevance":[1200,600,551],"google:verbatimrelevance":1300}]
Google的各种黑科技真是多啊
Comments