Skip to content

lita handler for scraping rank of google search results by domain

License

Notifications You must be signed in to change notification settings

marsz/lita-google-ranking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lita-google-ranking

Build Status

Lita (robot) handler for getting rank of DOMAIN on google web search with a KEYWORD.

Installation

Add lita-google-ranking to your Lita instance's Gemfile:

gem "lita-google-ranking"

Configuration

in lita_config.rb

config.handlers.google_ranking.gl = "tw"
config.handlers.google_ranking.lr = "lang_zh"
config.handlers.google_ranking.cr = "countryTW"

domain alias

config.handlers.google_ranking.domain_alias = { alias: "domain" , domain: "www.my.long.domain.name.com" }

Usage

lita gr DOMAIN KEYWORD : send KEYWORD to google web search, and return rank of DOMAIN from search results

"KEYWORD" ranking of DOMAIN is 3

License

MIT

About

lita handler for scraping rank of google search results by domain

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages