Y
Hacker News
new
|
ask
|
show
|
jobs
by
dashesyan
4290 days ago
Nokogiri comes with a command-line tool for just that purpose:
https://github.com/sparklemotion/nokogiri/blob/master/bin/no...
Example: nokogiri
https://news.ycombinator.com
-e 'puts $_.css("td.title a @href")'