Sha256: 0db2d711ff318a524fc701df8e358c637eb07ccf59875e60d2211928ea3bc044
Contents?: true
Size: 361 Bytes
Versions: 1
Compression:
Stored size: 361 Bytes
Contents
require 'cgi' module PageRankr class Backlinks class Bing < Backlink def url(site) "http://www.bing.com/search?q=link%3A#{CGI.escape(site)}" end def xpath "//span[@class='sb_count']/text()" end def clean(backlink_count) super(backlink_count.gsub('1-10', '')) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
PageRankr-1.3.0 | lib/page_rankr/backlinks/bing.rb |