That may be a CFAA violation, a felony in the United States. See Ryanair DAC v. Booking Holdings, Inc.
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)