Class: Torrentz::Fetch::Vertor
Overview
Returns torrent urls only.
Instance Method Summary collapse
Methods inherited from Simple
Methods included from Logger
Constructor Details
This class inherits a constructor from Torrentz::Fetch::Simple
Instance Method Details
#get ⇒ Object
86 87 88 89 90 91 92 |
# File 'lib/torrentz/fetch.rb', line 86 def get candidate = doc.css('ul.down_but li.bt a').map do |a| a['href'] end.find do |url| url =~ /mod=download/ end end |