In Files

  • lib/xxx/szukaj_cipki.rb

Parent

Methods

Class/Module Index [+]

Quicksearch

Xxx::SzukajCipki

Constants

HOST

Attributes

doc[RW]

Public Instance Methods

agent() click to toggle source
 
               # File lib/xxx/szukaj_cipki.rb, line 7
def agent
  @doc = Nokogiri::HTML(open(HOST))
end
            
latest() click to toggle source
 
               # File lib/xxx/szukaj_cipki.rb, line 11
def latest
  @link = HOST + agent.css("ul#movies a").first['href']
end