Skip to content

Instantly share code, notes, and snippets.

@blatyo
Created November 17, 2012 12:46
Show Gist options
  • Save blatyo/4095695 to your computer and use it in GitHub Desktop.
Save blatyo/4095695 to your computer and use it in GitHub Desktop.
require 'page_rankr'
class PageRankr::Ranks::GoogleHk < PageRankr::Ranks::Google
def url
"http://toolbarqueries.google.com.hk/tbr"
end
end
tracker = PageRankr::Ranks::GoogleHk.new('www.google.com')
puts "Rank #{tracker.run}"
puts tracker.body
Rank 9
Rank_1:1:9
@blatyo
Copy link
Author

blatyo commented Nov 17, 2012

This is what you want. Google itself won't work for you. You have to use GoogleHk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment