Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
aw3c2
on Sept 13, 2014
|
parent
|
context
|
favorite
| on:
Show HN: Pup – A command-line HTML parser
You can use this with pipes and redirectors in the command line.
dashesyan
on Sept 13, 2014
[–]
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")'
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: