Sha256: 2c6e44946a74143128214ad48d7d26b44ec994b53eb1e88567fb4095341dd08e

Contents?: true

Size: 351 Bytes

Versions: 2

Compression:

Stored size: 351 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='subform_ctrl']/div[2]/text()"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
PageRankr-3.1.2 lib/page_rankr/indexes/google.rb
PageRankr-3.1.1 lib/page_rankr/indexes/google.rb