Ask HN: Fastest Crawl of HN Articles
1–10 of 14 posts
Re: Ask HN: Fastest Crawl of HN Articles
#2https://github.com/HackerNews/API
I'm not sure what rate limiting policy is in place, but in theory you can start with a request for maxitem and from that point on just GET all items down to zero until you hit some sort of blocker.
Re: Ask HN: Fastest Crawl of HN Articles
#3HN does have a REST API which is quite easy to use. https://github.com/HackerNews/API I'm not sure what rate limiting policy is in place, but in theory you can start with a request for maxitem and from that point on just GET all items down to zero until you hit some sort of blocker.
Re: Ask HN: Fastest Crawl of HN Articles
#4HN does have a REST API which is quite easy to use. https://github.com/HackerNews/API I'm not sure what rate limiting policy is in place, but in theory you can start with a request for maxitem and from that point on just GET all items down to zero until you hit some sort of blocker.
As you said the HN api is great and there are at least 2 existing published crawls of it that help a lot.
Re: Ask HN: Fastest Crawl of HN Articles
#5HN does have a REST API which is quite easy to use. https://github.com/HackerNews/API I'm not sure what rate limiting policy is in place, but in theory you can start with a request for maxitem and from that point on just GET all items down to zero until you hit some sort of blocker.
To clarify I'm not asking about HN itself but articles linked from HN. As you said the HN api is great and there are at least 2 existing published crawls of it that help a lot.
Re: Ask HN: Fastest Crawl of HN Articles
#6HN does have a REST API which is quite easy to use. https://github.com/HackerNews/API I'm not sure what rate limiting policy is in place, but in theory you can start with a request for maxitem and from that point on just GET all items down to zero until you hit some sort of blocker.
To clarify I'm not asking about HN itself but articles linked from HN. As you said the HN api is great and there are at least 2 existing published crawls of it that help a lot.
I might not have a clear picture of what you're looking for, but items of type "story" returned by the HN API do have a URL field, which I believe correspond to submitted links.
You can scrape the text field of comment items, but that takes a bit more work.
Re: Ask HN: Fastest Crawl of HN Articles
#7Earlier quoted context omitted.
To clarify I'm not asking about HN itself but articles linked from HN. As you said the HN api is great and there are at least 2 existing published crawls of it that help a lot.
The fastest way to get that would probably still be through HN's API, you just have to take the URL field for stories and ignore everything else.
Re: Ask HN: Fastest Crawl of HN Articles
#8Earlier quoted context omitted.
To clarify I'm not asking about HN itself but articles linked from HN. As you said the HN api is great and there are at least 2 existing published crawls of it that help a lot.
The fastest way to get that would probably still be through HN's API, you just have to take the URL field for stories and ignore everything else.
Re: Ask HN: Fastest Crawl of HN Articles
#9Earlier quoted context omitted.
The fastest way to get that would probably still be through HN's API, you just have to take the URL field for stories and ignore everything else.
And how do you get the content once you have the URL?
Re: Ask HN: Fastest Crawl of HN Articles
#10Earlier quoted context omitted.
The fastest way to get that would probably still be through HN's API, you just have to take the URL field for stories and ignore everything else.
And how do you get the content once you have the URL?
I don't understand your question. If you have the URL, you just GET it, like any regular URL? Is there something that I'm missing?