lib/page_rankr/indexes/yahoo.rb in PageRankr-4.2.0 vs lib/page_rankr/indexes/yahoo.rb in PageRankr-4.2.1
- old
+ new
@@ -2,24 +2,24 @@
module PageRankr
class Indexes
class Yahoo
include Index
-
+
def url
"http://search.yahoo.com/search"
end
-
+
def params
{:p => "site:#{tracked_url}"}
end
-
+
def xpath
- "//span[@id='resultCount']/text()"
+ "//div[@id='pg']/span/text()"
end
def name
:indexes_yahoo
end
end
end
-end
\ No newline at end of file
+end