Sha256: 2b4a10b16e656f4101f844d6a508133dc3c5bb20b9eb1624883a3edff17fd1f3

Contents?: true

Size: 406 Bytes

Versions: 6

Compression:

Stored size: 406 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
        "//span[@id='resultCount']/text()"
      end

      def name
        :indexes_yahoo
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
PageRankr-4.2.0 lib/page_rankr/indexes/yahoo.rb
PageRankr-4.1.1 lib/page_rankr/indexes/yahoo.rb
PageRankr-4.1.0 lib/page_rankr/indexes/yahoo.rb
PageRankr-4.0.0 lib/page_rankr/indexes/yahoo.rb
PageRankr-3.2.1 lib/page_rankr/indexes/yahoo.rb
PageRankr-3.2.0 lib/page_rankr/indexes/yahoo.rb