Housing for longer stay.
If you are thinking in to stay in Spain for a long term period, you can find differents kinds of accomodatión:
If you live and study away from home, consider one of the most popular options for student housing: Halls. This website contains links to most of the colleges that exist in Spain.
Website for finding housing used both as a flatmate rental throughout Spain. Allows selection of cities, areas, prices, etc.