If you’re collecting data from publicly available sites, there’s nothing wrong with that. Even if you’re into auto-scraping using bots, everything is fine with that until you do not cross the line and harm the targeted website or ignore its Terms of Service.