Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Using YQL to grab HN links.
--
import urllib2 from BeautifulSoup import BeautifulSoup ychtml = urllib2.urlopen('http://news.ycombinator.com/).read() for tdtitle in BeautifulSoup(ychtml).findAll("td", "title"): print tdtitle.a
There are no comments on this comment yet.
--