Sha256: 840b9a3eade83e20cd98d5914247fb371a8551ad5130f69a68d27152a11550a7

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

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

module PageRankr
  class Backlinks
    class Yahoo
      include Backlink
      
      def url
        "http://search.yahoo.com/search"
      end
      
      def params
        {:p => "inbody:#{tracked_url}"}
      end
      
      def xpath
        "//span[@id='resultCount']/text()"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
PageRankr-3.1.2 lib/page_rankr/backlinks/yahoo.rb
PageRankr-3.1.1 lib/page_rankr/backlinks/yahoo.rb
PageRankr-3.1.0 lib/page_rankr/backlinks/yahoo.rb