Sha256: 4fc25a7ba3bbc28ae148ede00f5fb8035ac8b3812389305d866352c0136c8449
Contents?: true
Size: 225 Bytes
Versions: 8
Compression:
Stored size: 225 Bytes
Contents
#!/usr/bin/env ruby require 'nokogiri' require 'open-uri' <%- if @url -%> doc = Nokogiri::HTML(URI.open(<%= @url.inspect -%>)) <%- else -%> doc = Nokogiri::HTML(URI.open(ARGV[0])) <%- end -%> puts doc.search('//a[@href]')
Version data entries
8 entries across 8 versions & 1 rubygems