Python script to scrape data from LBV in Hamburg, Germany
Prerequisites:
- Python installed (version 3.11 currenly not working)
To setup the service locally, the following steps have to be executed:
1 - Create virtual environment
To do this, open a terminal and go to this directory. Then execute: python -m venv venv
Afterwards activate the environment using .\venv\Scripts\activate
2 - Install dependencies
The required dependencies are saved in the requirements.txt file.
To install the dependencies execute pip install -r requirements.txt
3 - Set environment variables
To set the environment variables, create a .env
file. In this file the following variables have to be set:
- vorname
- nachname
- fin
- kennzeichen_ort
- kennzeichen_buchstaben
- kennzeichen_ziffern
- strasse
- hausnr
- plz
- ort
- cookie
- teams_hook