Sha256: 73497473376c8714c74c4aa50fd37556e7057312045fba13bba7b16069856395
Contents?: true
Size: 738 Bytes
Versions: 2
Compression:
Stored size: 738 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) @site = PageRankr::Site(site) @checksum = Checksum.generate("info:#{tracked_url}") super(site) end def supported_components [:subdomain, :path] 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
PageRankr-3.2.1 | lib/page_rankr/ranks/google.rb |
PageRankr-3.2.0 | lib/page_rankr/ranks/google.rb |