lib/page_rankr/backlinks/yahoo.rb in PageRankr-3.0.2 vs lib/page_rankr/backlinks/yahoo.rb in PageRankr-3.1.0
- old
+ new
@@ -4,17 +4,18 @@
class Backlinks
class Yahoo
include Backlink
def url
- "http://siteexplorer.search.yahoo.com/search"
+ "http://search.yahoo.com/search"
end
+
def params
- {:p => "#{@site.to_s}"}
+ {:p => "inbody:#{tracked_url}"}
end
def xpath
- "//ul[@id='result-details']/li[2]/a/text()"
+ "//span[@id='resultCount']/text()"
end
end
end
end
\ No newline at end of file