Sha256: 7dfe31988383ed8cebb11878b0210fe30aa3e5147b5f881d865b27ccecd120cf

Contents?: true

Size: 411 Bytes

Versions: 2

Compression:

Stored size: 411 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
        "//div[@class='compPagination']/span/text()"
      end

      def name
        :backlinks_yahoo
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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