Y
Hacker News
new
|
ask
|
show
|
jobs
by
sarp
6250 days ago
This shows all urls on HN including images etc. whereas the original post demonstrates retrieving only linked articles
1 comments
yeahit
6249 days ago
You can filter that with another grep for example:
wget -O- news.ycombinator.com | grep -o 'title"><a href="[^"]*' | grep -o http.*
link