Direct links to a number of Spanish newspapers available online. Some newspapers available through this link have paywalls that require you to subscribe to access the digital content or limit the number of articles you can download.
The digital archive (newspapers and magazines) of the National Library in Madrid. Most newspapers and magazines available here were published prior to 1950.