That's a whole other thread. The new Rent Control law has hurt (a lot) long-term rental for locals and long-term residents. All offers on Idealista and other portals are for contracts of up to 12 months, short term rentals under Spanish Law. Those are not rent-controlled contracts.
In my part of Eixample there aren't any long term units available.