4 ms·
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, select
by dpweb 10y 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.
- enraged_camel 10y ago>>It's not a totally original concept. Screen-scraping has been around for a while This is basically a subset of "I did that before you!"
- metasean 10y agodpweb: - mentions the term that this concept falls under (no where on the OP's page, so he may not know that there is an entire set of software, plugins, etc that does this) - provides one alternative implementation - adds commentary related to why such services are necessary, and that they should be able to be monetized So yes, he starts off with something along the lines of "I did that before you!", but he doesn't use a condescending phrase, and he provides additional useful information.