Sha256: 4f0ed44daef350ad6d8947c55419e82a2bc52367f5d8e26a15870be5239ea75c

Contents?: true

Size: 396 Bytes

Versions: 4

Compression:

Stored size: 396 Bytes

Contents

require File.expand_path('../../backlink', __FILE__)

module PageRankr
  class Backlinks
    class Yahoo
      include Backlink

      def url
        "http://search.yahoo.com/search"
      end

      def params
        {:p => "inbody:#{tracked_url}"}
      end

      def xpath
        "//div[@id='pg']/span/text()"
      end

      def name
        :backlinks_yahoo
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
PageRankr-4.4.1 lib/page_rankr/backlinks/yahoo.rb
PageRankr-4.4.0 lib/page_rankr/backlinks/yahoo.rb
PageRankr-4.3.0 lib/page_rankr/backlinks/yahoo.rb
PageRankr-4.2.1 lib/page_rankr/backlinks/yahoo.rb