lib/page_rankr/ranks/alexa_us.rb in PageRankr-4.4.1 vs lib/page_rankr/ranks/alexa_us.rb in PageRankr-4.6.0
- old
+ new
@@ -18,14 +18,14 @@
#
# For example, slocourts.net returns results for ca.gov, presumably because www.slocourts.ca.gov redirects
# to slocourts.net. Clearly something is wrong with how Alexa handles this case and so in the event this
# happens we treat the results as if there were no results.
def xpath
- "//popularity[contains(@url, '#{tracked_url}')]/../country[@code='US']/@rank"
+ "//country[@code='US']/@rank"
end
def supported_components
- [:domain]
+ [:subdomain]
end
def name
:ranks_alexa_us
end