Sha256: 766f0c1d64c8df5399cda509247190a6747bb0ab94b31692f62a6ed0294d5296

Contents?: true

Size: 393 Bytes

Versions: 12

Compression:

Stored size: 393 Bytes

Contents

require File.expand_path('../../index', __FILE__)

module PageRankr
  class Indexes
    class Google
      include Index
      
      def url
        "http://www.google.com/search"
      end

      def params
        {:q => "site:#{tracked_url}"}
      end

      def xpath
        "//div[@id='resultStats']/text()"
      end

      def name
        :indexes_google
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
PageRankr-4.6.1 lib/page_rankr/indexes/google.rb
PageRankr-4.6.0 lib/page_rankr/indexes/google.rb
PageRankr-4.4.1 lib/page_rankr/indexes/google.rb
PageRankr-4.4.0 lib/page_rankr/indexes/google.rb
PageRankr-4.3.0 lib/page_rankr/indexes/google.rb
PageRankr-4.2.1 lib/page_rankr/indexes/google.rb
PageRankr-4.2.0 lib/page_rankr/indexes/google.rb
PageRankr-4.1.1 lib/page_rankr/indexes/google.rb
PageRankr-4.1.0 lib/page_rankr/indexes/google.rb
PageRankr-4.0.0 lib/page_rankr/indexes/google.rb
PageRankr-3.2.1 lib/page_rankr/indexes/google.rb
PageRankr-3.2.0 lib/page_rankr/indexes/google.rb