Sha256: 436d3a857d49f2d9f501cf692a568ca3b2107f6e3df13666b02338fbd36749a8

Contents?: true

Size: 422 Bytes

Versions: 4

Compression:

Stored size: 422 Bytes

Contents

module Ubi
  module Consultor
    # URL finder consultor
    class Yahoo < Base
      #
      # query
      def query
        { p: @thema.name, hspart: 'ubi' }
      end

      def links
        '//a[not (contains(@href,"yahoo"))]'
      end

      def words
        '//li[@class="g"]'
      end

      class << self
        def url
          'https://search.yahoo.com/yhs/search?'
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ubi-0.0.8 lib/ubi/consultores/yahoo.rb
ubi-0.0.7 lib/ubi/consultores/yahoo.rb
ubi-0.0.5 lib/ubi/consultores/yahoo.rb
ubi-0.0.3 lib/ubi/consultores/yahoo.rb