Data mining was already addressed. There's a copyright exception that says you
can data mine publicly accessible stuff, as well as outlining who can do that and for what purposes (mostly scientific).
2019 Directive for Copyright in the Digital Single Market, articles 3 and 4. The two regulations kinda complement each other.