This is a Python web scraper built to extract car information from Turbo.az, one of the most popular car purchase websites in Azerbaijan.
- Extracts car details including make, model, year, price, and location.
- Data is saved in CSV format.
- Selenium and Beautiful Soup libraries are used for web scraping.
- Code may need to be updated due to possible changes in website HTML tags.
- Clone this repository.
- Install the required dependencies by running
pip install -r requirements.txt
in your terminal.
You can install turbo2csv via pip:
pip install turbo2csv
from turbo2csv.scraper import TurboScraper
scraper = TurboScraper(geckodriver_path='path/to/geckodriver', headless=True)
scraper.scrape(output_file='turbo.csv', start=1)
turbo2csv includes comprehensive test coverage to ensure reliability and accuracy. To run the tests, you can use pytest:
pip install pytest
pytest
This application is intended for educational purposes only and should not be used for commercial purposes. The author is not responsible for any legal issues that may arise from the misuse of this tool.
This project is licensed under the MIT License - see the LICENSE file for details.