https://github.com/607011/pricebreaker
Scrape idealo.de for the price of a product, send mail as soon as the price drops under a certain limit
https://github.com/607011/pricebreaker
price-tracker scraper
Last synced: 6 months ago
JSON representation
Scrape idealo.de for the price of a product, send mail as soon as the price drops under a certain limit
- Host: GitHub
- URL: https://github.com/607011/pricebreaker
- Owner: 607011
- Created: 2025-04-30T08:13:14.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-05-07T17:22:59.000Z (6 months ago)
- Last Synced: 2025-05-12T12:16:02.574Z (6 months ago)
- Topics: price-tracker, scraper
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Price Breaker
## Clone and prepare
```bash
git clone
pipenv install
```
## Configure
Save a .env file with the following contents:
```bash
sender=""
recipient=""
subject="Idealo Scraper"
password="▉▉▉▉▉▉▉▉▉▉▉▉"
smtp_server="smtp.gmail.com"
smtp_port=465
save_screenshots="False"
product=""
size="44"
limit=70
url="https://www.idealo.de/preisvergleich/OffersOfProduct/200671888_-elite-flex-corriedale-78803-ccl-grey-skechers.html"
```
`sender` will be used together with `password` to login to `smtp_server` on port `smtp_port`.
An email with subject `subject` is sent to `recipient`.
If you want the script to save screenshots of relevant scraping stages, set `save_screenshots` to `"True"`.
The name of `product` will be used in the mail sent to `recipient`, if the prize drops below `limit`.
`size` is the requested size of the product, e.g. "44" for a pair of shoes.
`url` points to the web page with the overview of the product.
## Run
```bash
pipenv run python scraper.py
```