True, but it is an API that they can't easily deprecate on a whim.
We had a whole team dedicated to keeping up the changes vendors would make to their websites that we scraped for info. The team was called, of course, "Scrape and P(r)ay".
So, prefer regex over css selectors, and css selectors over xpath, where possible. And don't select based on nesting or position if possible.
I think the hiQ Labs vs LinkedIn case is a better representation that scraping is generally allowed: https://en.wikipedia.org/wiki/HiQ_Labs_v._LinkedIn
Reminder that the earlier ruling was overturned, it is no longer clear whether scraping is legal or not.
(I gave you an upvote, I don't think your comment deserve to be nuked for bringing up a possible legal risk)