Sha256: 78c1103e82679b1087bad6db38979c7fe6c17d2156990c400685913f18554790

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 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
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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