A web scraping program created to get race and driver information from the Formula 1 Official website and store it in a database file.
Install the needed libraries with the following commands if you are on Windows:
pip install beautifulsoup4
pip install requestsIf you are on MacOS or Linux use the commands below:
sudo pip3 install beautifulsoup4
pip3 install requestscd into the project folder and run the following command in cmd prompt or terminal:
python F1_Race_Winner_Stats.pyor
python3 F1_Race_Winner_Stats.pyInstall the needed libraries with the following commands if you are on Windows:
pip install beautifulsoup4
pip install requestsIf you are on MacOS or Linux use the commands below:
sudo pip3 install beautifulsoup4
pip3 install requestscd into the project folder and run the following command in cmd prompt or terminal:
python F1_Driver_Stats.pyor
python3 F1_Driver_Stats.pyThe database is a sql database created with sqlite3, and can be viewed/queried within the python code or externally with another program such as DB Browser for SQLite or SQL Server Management Studio.