This is a Python script that allows you to search for cars on mobile.bg based on the brand and model. It retrieves car listings, including their prices, years, and images, and displays the results in the console. You can select a car to view its image.
To run this script, you need to have the following installed:
Python 3
urllib
,requests
,re
,PIL
, andbeautifulsoup4
Python libraries
To install the libraries execute the command:
pip install <library-name>
- Clone or download the project files to your local machine.
- Open a terminal or command prompt and navigate to the project directory.
- Run the script by executing the following command:
python main.py