3 ms·
> The market is trying really hard to price out web scraping... scraping is becoming non-existent in user-space apps Uhh... Those two matters are pretty much u
by altfredd 3y ago
> The market is trying really hard to price out web scraping... scraping is becoming non-existent in user-space apps
Uhh... Those two matters are pretty much unrelated to each other. Scraping is becoming non-existing because the era of static web pages has ended. No need to "scrap" when you have a nice, performant JSON REST API provided for you.
- flagrant_taco 3y agoSSG vs SSR really has nothing to do with whether an API exists to provide the data you would otherwise need to scrape. When was the last time you saw a site with a JSON API providing metadata, like the json-ld for a product on an e-commerce site? Or an API just for the open graph data? How would you even discover these APIs for sites that you don't own? It's also worth noting that very, very few JSON APIs today are actually REST. They rarely include all the context needed, and in general JSON is much less useful than XML when you're talking to other APIs that you don't own since JSON can't easily describe the shape and datatypes of the content.
- wraptile 3y ago> No need to "scrap" when you have a nice, performant JSON REST API provided for you. There are no performant json rest APIs provided these days though. The days of public APIs are long gone.
- altfredd 3y agoHTML "APIs" weren't meant for public either. In practice, if there is a mobile app, there is an API. Whether it's creators object to your usage is mostly their own problem.