4 ms·
Link to the relevant Blog: http://joelgrus-hackernews.blogspot.com/ http://joelgrus-hackernews.blogspot.com/ -- I had a go at scraping HN myself a couple of d
by mmackh 15y ago
Link to the relevant Blog: http://joelgrus-hackernews.blogspot.com/ http://joelgrus-hackernews.blogspot.com/
--
I had a go at scraping HN myself a couple of days ago (in PHP) and here's the output:
http://thequeue.org/api/frontpage.xml http://thequeue.org/api/frontpage.xml
http://thequeue.org/api/new.xml http://thequeue.org/api/new.xml
http://thequeue.org/api/best.xml http://thequeue.org/api/best.xml
The trouble is that sponsored posts, i.e. We're Hiring (YC 11) break the code. If anyone can help, there's a question on Stackoverflow about it:
http://stackoverflow.com/questions/9301215/scraping-hn-front-page-handeling-simple-html-dom-error#comment11731379_9301215 http://stackoverflow.com/questions/9301215/scraping-hn-front...
- underwater 15y agoThis article only scores 0.039 on his blog. Whoops.