4 ms·
We, too, have ported Readability to a web based API, however ours is synchronous. It's lighting fast under the hood (thank you Cython) and you can hit it as muc
by waterside81 16y ago
We, too, have ported Readability to a web based API, however ours is synchronous. It's lighting fast under the hood (thank you Cython) and you can hit it as much as you like, as quickly as you like. We currently process about 5 million calls to clean-html.json a month, which is odd, because we added it to our set of API calls on a whim. It's turned out to be our most popular API call, by a large margin.
We're also going to be issuing an update soon to include multi-page reading. So you can grab those long, paginated New Yorker articles all in one API call.
http://www.repustate.com http://www.repustate.com
- scraplab 16y agoThanks - that looks quite interesting. Do you offer anything that cleans up the HTML but preserves formatting and images in the article?
- waterside81 16y agoInternally, yes. Give a day or two and I"ll add a flag to let you preserve some of the formatting.
- StavrosK 16y agoThat's fantastic, any plans on releasing the source? EDIT: Oh, wait, that's nothing like readability, is it? It just cleans HTML up into text...
- waterside81 16y agoWe do have the ability to retain some of the formatting (simple HTML tags) but haven't exposed that over the API yet. We'll update that this week, so come on by a bit later in the week.