Now you can work in Spain with a student visa!
You may be authorised to work with the visa as self-employed or on your own, with prior request from the interested party or the company, as long as the activities are compatible with the studies and do not exceed 30 hours per week. The duration of the permit will be the same as that of the studies carried out up to a maximum of two years (in the case of studies carried out in an authorized higher education institution or with mandatory training practices).