Sha256: aad13a265c18202e8c4717abe55d83fd12a23d82cb391f761ff0790bae799e76

Contents?: true

Size: 374 Bytes

Versions: 3

Compression:

Stored size: 374 Bytes

Contents

require File.expand_path('../../backlink', __FILE__)

module PageRankr
  class Backlinks
    class Yahoo
      include Backlink
      
      def url
        "http://siteexplorer.search.yahoo.com/search"
      end
      def params
        {:p => "#{@site.to_s}"}
      end
      
      def xpath
        "//ul[@id='result-details']/li[2]/a/text()"
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
PageRankr-3.0.2 lib/page_rankr/backlinks/yahoo.rb
PageRankr-3.0.1 lib/page_rankr/backlinks/yahoo.rb
PageRankr-3.0.0 lib/page_rankr/backlinks/yahoo.rb