2 ms·
This shows all urls on HN including images etc. whereas the original post demonstrates retrieving only linked articles
by sarp 18y ago
This shows all urls on HN including images etc. whereas the original post demonstrates retrieving only linked articles
- yeahit 18y agoYou can filter that with another grep for example: wget -O- news.ycombinator.com | grep -o 'title"><a href="[^"]*' | grep -o http.*