Sha256: f518605f149929d46e02b427ebd138c25e14a474e9cc1505184bc2cc1091fc0a

Contents?: true

Size: 353 Bytes

Versions: 2

Compression:

Stored size: 353 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='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/backlinks/google.rb
PageRankr-3.1.1 lib/page_rankr/backlinks/google.rb