|
|
|
|
|
by dpweb
3708 days ago
|
|
It's not a totally original concept. Screen-scraping has been around for a while - essentially what this solves. I did mine for Ajax: this.get(html, selector, function(s){
var es = new DOMParser().parseFromString(html, 'text/html').querySelectorAll(selector);
return [].slice.call(es).map(function(n){ return n.innerText });
};
It's not a product per-se, but combination of data and view is one of the unfortunate aspects of the web that (sorry) won't get fixed - Not everyone will build JSON apis. And, hate away but HTML & JS are here for a long time to come. The need is very real and would be a critical part of a scrape or IFFFT like service - plumbing - if not a product you sell outright to end users. |
|
This is basically a subset of "I did that before you!"