It may not be quite that simple, see hiQ Labs vs LinkedIn[1].
> hiQ had prevailed on the Computer Fraud and Abuse Act (CFAA) “unauthorized access” issue related to public website data but was facing a ruling that it had breached LinkedIn’s User Agreement due to its scraping and creation of fake accounts (subject to its equitable defenses).
https://natlawreview.com/article/hiq-and-linkedin-reach-prop...