Sha256: 1a970a411d486ffb6cc36a8916a7dc455cb82c5ef4a7d46da7aea6532428b2e3
Contents?: true
Size: 383 Bytes
Versions: 2
Compression:
Stored size: 383 Bytes
Contents
require 'typhoeus' module PageRankr class Backlinks class Yahoo include Backlink def request @request ||= Typhoeus::Request.new("http://siteexplorer.search.yahoo.com/search", :params => {:p => "#{@site.to_s}"}, :method => :get) end def xpath "//ol[@id='results-tab']/li[2]/a/text()" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
PageRankr-2.0.1 | lib/page_rankr/backlinks/yahoo.rb |
PageRankr-2.0.0 | lib/page_rankr/backlinks/yahoo.rb |