Immobiliare Scraper is a Python script that fetches and analyzes real estate data from Immobiliare.it. The script computes the average price per square meter for new and old houses in the Triante-San Giuseppe area of Monza, Italy by default, but you can change the URL in the script based on your desired area, simply choose it from the website and copy the url directly from your browser, and replace it with the existing one in this script.
- Fetches real estate data from Immobiliare.it
- Calculates average price per square meter for new and old houses and also the combined price per average without accounting for new and old houses.
- Option to enable debug mode for more detailed output
- Python 3.6+
- BeautifulSoup4
- Requests
-
Clone this repository:
git clone https://github.com/aport1996/immobiliare_scraper.git
-
Change into the project directory:
cd immobiliare_scraper
-
Install the required Python packages:
pip install -r requirements.txt
To run the script, use the following command:
python immobiliare_scraper.py
To enable debug mode for more detailed output, use the --debug
flag:
python immobiliare_scraper.py --debug
Contributions are welcome! If you have any suggestions, improvements, or bug fixes, please submit a pull request or create an issue.
This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. See the LICENSE file for details.