Hacker News new | ask | show | jobs
by GamblersFallacy 4504 days ago
Simple python scraper for all the links:

import requests

import lxml.html

dom = lxml.html.fromstring(requests.get('https://news.ycombinator.com/item?id=7254884').content)

[x for x in dom.xpath('//a/@href') if '//' in x and 'ycombinator.com' not in x]