Package Exports
- google-releated-searches
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (google-releated-searches) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
google-releated-searches
scrap related searches on Google.
Important
- The unofficial module to crawl the content of the site.
- Therefore, whenever it may not be a normal operation, if problems occur, please add the issue.
Related searches
People whose searches match the restrictions most often searched for these terms too.
Usage
var related = require('./')
related.load({ term: '지진', countries: ['kr'] }, function (err, result) {
console.log(err, JSON.stringify(result))
})
// output
{
"kr": {
"top": [
{
"term": "군산지진",
"link": "https://www.google.com/search?q=%EA%B5%B0%EC%82%B0%EC%A7%80%EC%A7%84",
"value": null
},
// ...
{
"term": "지진운",
"link": "https://www.google.com/search?q=%EC%A7%80%EC%A7%84%EC%9A%B4",
"value": 450
}
],
"rising": [
{
"term": "익산지진",
"link": "https://www.google.com/search?q=%EC%9D%B5%EC%82%B0%EC%A7%80%EC%A7%84",
"value": 100
},
// ...
{
"term": "전북지진",
"link": "https://www.google.com/search?q=%EC%A0%84%EB%B6%81%EC%A7%80%EC%A7%84",
"value": 10
}
]
}
}
List of Google domains
https://en.wikipedia.org/wiki/List_of_Google_domains
LICENSE
google-releated-searches is licensed under the MIT license.