Sha256: 951e5a770444b874a70ed07f91f73b12c0a069e98823bc00fcaabc2add20105d

Contents?: true

Size: 399 Bytes

Versions: 2

Compression:

Stored size: 399 Bytes

Contents

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

module PageRankr
  class Indexes
    class Yahoo
      include Index

      def url
        "http://search.yahoo.com/search"
      end

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

      def xpath
        "//div[@class='compPagination']/span/text()"
      end

      def name
        :indexes_yahoo
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
PageRankr-4.6.1 lib/page_rankr/indexes/yahoo.rb
PageRankr-4.6.0 lib/page_rankr/indexes/yahoo.rb