In the US, there was a ruling a couple of years ago that gives some legal clarity to scraping data made publicly available (in favor of the scrapers) in the hiQ vs. LinkedIn case. You can read more about it here https://www.eff.org/deeplinks/2019/09/victory-ruling-hiq-v-l...