News for hackers. Stuff that matters.
Re:Websites That Feed Hacker News: Top Sources of Submission... by kentonv on Friday April 15, 2016 @01:02AM (#11502296)
There is a well-defined solution to this problem: The Public Suffix List.

https://publicsuffix.org/

blogspot.com is in it. github.com is not, but github.io (where Github Pages are hosted) is. I would guess this is what HN uses.

That said, it of course can't help with e.g. categorizing github repo links by user, since those are by path rather than subdomain. Ah well.

There are no comments on this comment yet.