https://github.com/sammarxz/03-olx-price-tracker
Simple OLX Price tracker with Python and Selenium
https://github.com/sammarxz/03-olx-price-tracker
price-tracker python selenium selenium-webdriver
Last synced: about 1 month ago
JSON representation
Simple OLX Price tracker with Python and Selenium
- Host: GitHub
- URL: https://github.com/sammarxz/03-olx-price-tracker
- Owner: sammarxz
- Created: 2020-06-10T23:03:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-02T02:06:19.000Z (over 4 years ago)
- Last Synced: 2025-08-31T01:23:05.336Z (about 2 months ago)
- Topics: price-tracker, python, selenium, selenium-webdriver
- Language: Python
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OLX Price Tracker
Hey. This is my third day of 7. This time I decided to get out of ReactJS and create something with Python. I thought about making a simple price-tracker with web scraping, but then I met this [Selenium](https://www.selenium.dev/) and decided to test create something with it. So maybe I didn't use it correctly, but it shows up, this is my first project.I am using the very popular website in my country, for buying and selling used items. [OLX](https://olx.com.br/). I open it with selenium firefox web driver, make the search and get the HTML information I need. I think maybe later I will take the selenium and leave it with web scraping, as I said, I did it just to test it.
**For now the script is creating a new json file in `/reports`, containing the products found and the best product found.**
## How to Use
```
$ git clone git@github.com:sammarxz/03-olx-price-tracker.git
$ cd 03-olx-price-tracker.git
$ pip install -r requirements.txt
```edit the `config.py` with the **name, category and region** of product that you will want search and run the `app.py` script
### REQUIRED!
You will need the [geckodriver](https://github.com/mozilla/geckodriver/releases) for this works. Download the latest version and install it in your PC.```
$ wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux32.tar.gz
$ tar -xvzf geckodriver*
$ sudo mv geckodriver /usr/local/bin/
```---
#### TODO:
* [ ] - Make the script interactive, asking the user what they would like to search for, which category and region
* [ ] - Add the tracker functionality really, because so far the script just scraps.
* [ ] - The tracker will run everyday in end of day and if the price expected by the user is equal to an product of the list, send an email to user.