Sha256: dee5e23ed8e865118851beed088812f2f475f89f406e8922f41d68dfd40fa89a

Contents?: true

Size: 418 Bytes

Versions: 6

Compression:

Stored size: 418 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

      def name
        :backlinks_yahoo
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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