Here’s a website that offers affordable accommodation in Barcelona
https://www.pisocompartido.com/en/homes-barcelona/