Sha256: f3bf4c9d0f370474cbcd873e5cafb5d7c17bca74dc01855950f40ba0d7c02613

Contents?: true

Size: 397 Bytes

Versions: 12

Compression:

Stored size: 397 Bytes

Contents

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

module PageRankr
  class Backlinks
    class Google
      include Backlink

      def url
        "http://www.google.com/search"
      end

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

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

      def name
        :backlinks_google
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

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