Sha256: adb545bf1078c5d0e67dbcf4989a4961e186d576b3c9f9db97250d2c200f44ca
Contents?: true
Size: 229 Bytes
Versions: 5
Compression:
Stored size: 229 Bytes
Contents
module Maxwell class Helper def self.open_links(url, link_selectore, use_poltergeist=false) html = ::Maxwell::Converter.call(url, use_poltergeist) html.css(link_selectore).map { |a| a[:href] } end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
maxwell-1.0.0 | lib/maxwell/helper.rb |
maxwell-0.4.3 | lib/maxwell/helper.rb |
maxwell-0.4.2 | lib/maxwell/helper.rb |
maxwell-0.4.1 | lib/maxwell/helper.rb |
maxwell-0.4.0 | lib/maxwell/helper.rb |