This python script uses Selenium library to automatically detect when an appointment is available at the Ausländerbehörde Berlin for the selected visa service. Whenever an available day is found, it beeps.
Follow these steps to set up and run your Python project:
Make sure you have the following prerequisites installed on your system:
- Python (version >= 3.10)
- pip (Python package manager)
First, clone the repository to your local machine using the following command:
git clone https://github.com/Mcamin/termin-bot
cd termin-bot
To create a virtual environment, use the following commands:
# On Windows
python -m venv venv
# On macOS and Linux
python3 -m venv venv
This will create a virtual environment named venv
in your project directory.
Activate the virtual environment using the appropriate command for your operating system:
-
On Windows:
.\venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
Once the virtual environment is activated, install the project dependencies from the requirements.txt
file:
pip install -r requirements.txt
You should have a .env.default
file in your project directory. Make a copy of this file and rename it to .env
. Adjust the configuration settings in the .env
file accordingly.
You can now run your Python script using the following command:
python main.py