Sha256: aecadf9f8573968b69db565279924340c26cff7ce51af5db9291da7b4fa2607a
Contents?: true
Size: 769 Bytes
Versions: 8
Compression:
Stored size: 769 Bytes
Contents
require File.expand_path('../../rank', __FILE__) require File.expand_path('../google/checksum', __FILE__) module PageRankr class Ranks class Google include Rank def initialize(site, options = {}) @site = PageRankr::Site(site) @checksum = Checksum.generate("info:#{tracked_url}") super(site, options) end def supported_components [:subdomain, :path, :query] end def url "http://toolbarqueries.google.com/tbr" end def params {:client => "navclient-auto", :ch => @checksum, :features => "Rank", :q => "info:#{tracked_url}"} end def regex /Rank_\d+:\d+:(\d+)/ end def name :ranks_google end end end end
Version data entries
8 entries across 8 versions & 1 rubygems