class Ubi::Consultor::Google
URL finder consultor
Public Class Methods
url()
click to toggle source
# File lib/ubi/consultores/google.rb, line 18 def url 'https://www.google.com.br/search?' end
Public Instance Methods
links()
click to toggle source
# File lib/ubi/consultores/google.rb, line 9 def links '//a[not (contains(@href,"google"))]' end
query()
click to toggle source
# File lib/ubi/consultores/google.rb, line 5 def query { q: @thema.name } end
words()
click to toggle source
# File lib/ubi/consultores/google.rb, line 13 def words '//div[@class="res"]' end