As-salāmu ʿalaykum Would scraping, meaning the process of automatically collecting publicly available data from a website using scripts or programs, be considered haram if the website’s terms of service explicitly forbid it, even though it’s not illegal in the country I reside in Jazākallāhu khayran

Ustadh AbdulAziz al-Haqqan
Allah knows best.