Settings

Theme

Hacker News search

10 points by ymn_ayk 13 years ago · 13 comments · 1 min read


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

slash-dot 13 years ago

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.

  • dbaupp 13 years ago

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

  • beatgammit 13 years ago

    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.

    • alphast0rm 13 years ago

      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.

  • ymn_aykOP 13 years ago

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

unholygoat 13 years ago

there's a bunch simliar but i don't think any have updated with the newly added API additions...go for it! http://www.hnsearch.com/api

here are most of the other apps still up http://news.ycombinator.com/item?id=2672826

rikacomet 13 years ago

speaking of this, there should be one. And a "http://Archive as well.

only a handful of topics make it to the top everyday, but the majority of content is high quality stuff, which if applied at a proper place would help many. What say?

arikrak 13 years ago

I think a practical way to implement simple version would be through Google CSE, but you would have more control if you roll your own search.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection