lib/page_rankr/ranks/page_authority.rb in PageRankr-4.4.1 vs lib/page_rankr/ranks/page_authority.rb in PageRankr-4.6.0

- old
+ new

@@ -4,19 +4,19 @@ class Ranks class PageAuthority include Rank def url - 'http://bagics.com/page-authority.html' + 'https://moz.com/researchtools/ose/api/urlmetrics' end def params - {:domain => tracked_url} + {site: tracked_url} end - def xpath - '//*[@id="resId"]' + def jsonpath + 'data.authority.page_authority' end def supported_components [:subdomain, :path, :query] end @@ -24,6 +24,6 @@ def name :ranks_page_authority end end end -end \ No newline at end of file +end