You don't need to scrape BORME: Spain's company registry has an open-data API
Notes from parsing 17 years of the official gazette — 9.5M company events: the boe.es API nobody talks about, six traps that cost real time, and the deterministic-parser approach that hit 99.9% coverage.