Sha256: a402153d02326d5f2dc175018b3e1acf86e4340acdc538152465b858888f48d0

Contents?: true

Size: 384 Bytes

Versions: 4

Compression:

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

      def name
        :indexes_yahoo
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
PageRankr-4.4.1 lib/page_rankr/indexes/yahoo.rb
PageRankr-4.4.0 lib/page_rankr/indexes/yahoo.rb
PageRankr-4.3.0 lib/page_rankr/indexes/yahoo.rb
PageRankr-4.2.1 lib/page_rankr/indexes/yahoo.rb