lib/page_rankr/backlinks/yahoo.rb in PageRankr-4.2.0 vs lib/page_rankr/backlinks/yahoo.rb in PageRankr-4.2.1
- old
+ new
@@ -2,24 +2,24 @@
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()"
+ "//div[@id='pg']/span/text()"
end
def name
:backlinks_yahoo
end
end
end
-end
\ No newline at end of file
+end