Sha256: 10f1a0bf4a02608ffb19ddae19f644f7011541335a15178d992e6c451af6e314

Contents?: true

Size: 261 Bytes

Versions: 1

Compression:

Stored size: 261 Bytes

Contents

require 'cgi'

module PageRankr
  class Backlinks
    class Alexa < Backlink
      def url(site)
        "http://data.alexa.com/data?cli=10&dat=snbamz&url=#{CGI.escape(site)}"
      end
      
      def xpath
        "//linksin/@num"
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
PageRankr-1.3.0 lib/page_rankr/backlinks/alexa.rb