Removed duplicate parser.parse() call
Use response.content.splitlines() as csvfile
Improved HTTP connection and error handling
Added MeasuringPoint.form_id to fetch the right stations