This tutorial guides you through using a Python script to scrape hotel information listed on the website classement.atout-france.fr
.
Before you begin, ensure that you have Python 3 installed on your computer. You can download Python from the official website: Python Downloads
-
Open a terminal or command prompt.
-
If you want to clone the repository to a specific location, create a folder (replace
~/your/path/repos
with your desired path):mkdir ~/your/path/repos
-
Navigate to the folder
cd ~/your/path/repos
-
Clone the repository containing the script
git clone https://github.com/SamAmann/scraping-classement-atout-france.git
-
Navigate into the cloned folder
cd ./scraping-classement-atout-france
-
Install the required Python packages by running
pip install -r requirements.txt
python atout_france.py
A massive thanks to Antoine Paix for the inspiration script.