Skip to main content

Hacker News

Hacker News (sometimes abbreviated as HN) is a social news website focusing on computer science and entrepreneurship. It is run by the investment fund and startup incubator Y Combinator. In general, content that can be submitted is defined as "anything that gratifies one's intellectual curiosity."

This notebook covers how to pull page data and comments from Hacker News

from langchain_community.document_loaders import HNLoader

API Reference:

loader = HNLoader("")
data = loader.load()
"delta_p_delta_x 73 days ago  \n             | next [–] \n\nAstrophysical and cosmological simulations are often insightful. They're also very cross-disciplinary; besides the obvious astrophysics, there's networking and sysadmin, parallel computing and algorithm theory (so that the simulation programs a"
{'source': '',
'title': 'What Lights the Universe’s Standard Candles?'}

Help us out by providing feedback on this documentation page: