Some context about OpenStreetMap:
It's an Open Data project, it means you can just go to a mirror and download the full db legally, and do whatever you want with that.* The license of OSM (called ODbL) even allows selling the data. They can legally train on it if they need this.
Yet the crawlers hammering the servers used by the volunteers... It's so stupid.
If you are interested this page lists like 20 different ways you can download data, depending on your use case, and what part of the database you actually need: https://wiki.openstreetmap.org/wiki/Downloading_data
* There is only one requirement, you have to display ©OpenStreetMap somewhere if you publish some derivative work. More info here: https://opendatacommons.org/licenses/odbl/