Live data from Hacker News

Hacker News search

news.ycombinator.com

1–10 of 14 posts

Hacker News search

#1
I'm starting to do 'Introduction to CS' from Udacity (http://www.udacity.com/overview/Course/cs101/CourseRev/apr2012). I'm planning to make a Hacker news search app through the course. What do you think, is that a good idea, or not? I know there is something similar; this is my plan: the search will be executed in the domains, referred by the hacker news stories. Thank you

Re: Hacker News search

#4
post #3

Keep in mind that if you crawl this site your ip will be banned. At least mine was when I was playing around with a web crawler i built.

There is an unofficial API: http://www.hnsearch.com/api (Provided by the very search engine referred to in the OP, haha!)

Unfortunately there is no API for getting access to personal information on HN (i.e. comments I have made, or stories I've upvoted). You're relegated to scraping if you want that information.

Re: Hacker News search

#6

Keep in mind that if you crawl this site your ip will be banned. At least mine was when I was playing around with a web crawler i built.

You can always get around this by throttling your web crawler. It will take a much longer time, but at least you'll be able to read HN in the meantime.

Re: Hacker News search

#8

Keep in mind that if you crawl this site your ip will be banned. At least mine was when I was playing around with a web crawler i built.

You can always get around this by throttling your web crawler. It will take a much longer time, but at least you'll be able to read HN in the meantime.

The tricky thing when doing this is knowing what rate to stop at without getting permanently banned. I built an Android Market crawler two summers ago, and luckily Google only temp bans (from my experience), so that might be an easier project without any risk.

Re: Hacker News search

#9
post #7

Keep in mind that if you crawl this site your ip will be banned. At least mine was when I was playing around with a web crawler i built.

Why will you be banned? Do you know about the reason?

To prevent people from (unintentionally) DDoSing the site.
Post reply on HN