![](/static/66c60d9f/assets/icons/icon-96x96.png)
![](https://lemmy.world/pictrs/image/7dd4c588-aff6-4089-ba5a-a138553ad93d.png)
From the article, what we all already knew:
About 96% of the atmosphere on the second planet from the Sun is made up of carbon dioxide, a smidge of other gasses including nitrogen, and practically no oxygen.
Scientists: We detected infinitesimally sparse amounts on the sunny side of the planet for the first time!
The author: Literally covered.
For fuck’s sake.
The generalized approach in industry is to use API calls, and create classes to structure the data you receive as JSON or XML. At that point, it is entirely up to you how to format and display the data from your classes. Take a look at some of the Lemmy client code like Mlem, Memmy, or Voyager as examples. Though they have gotten more complicated, they all follow this client-server model for front end development.
However, due to recent shenanigans around API and RSS by companies, mostly those looking to prevent AI companies from using their data for free, the alternative, much worse method is to take the HTML output from a standard web request, and try to reverse engineer the page information into a class structure. This sucks, breaks frequently, and requires you to code around ads and other junk on pages in order to get at the content.