Skip to main content

A program that scraps websites for prices and notifies you about it.

Project description

Web Price Watcher

A tiny script that scrapes a page in headless Chrome and sends an ntfy.sh notification when your target text (a price) changes. Currently, the example is checking Palworld's price on Steam, but you can easily adapt it to other websites by changing the URL and CSS selectors. It scrapes the pages every 24 hours, but you can change the schedule as needed. Scrape data is saved to a JSON file, so it can be compared with the last scraped data.

Based on: slashtechno/scrape-and-ntfy The Ntfy class was adapted from there.

Usage

Run the pip command to install it.

To use, just use:

from website_price_notifier import utils
utils.main()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

website_price_notifier-1.1.2.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

website_price_notifier-1.1.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file website_price_notifier-1.1.2.tar.gz.

File metadata

File hashes

Hashes for website_price_notifier-1.1.2.tar.gz
Algorithm Hash digest
SHA256 e48fd28ad648de1a5d4c36d7baaf16bee1483d3bbcb03abd441960041fdc7561
MD5 2357b9d1744045f40e5303046a125a7b
BLAKE2b-256 4a376dbb002772d802e033c7d21886980cbe090ea8579fe4c62db5b107675d88

See more details on using hashes here.

File details

Details for the file website_price_notifier-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for website_price_notifier-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ea9c015db6967239c6af8a4ad0d56fd96a9b5848ba3ebd9b66f44ba36baf0c1a
MD5 98613ccb2521d578709f62e24e0dfec0
BLAKE2b-256 37299ce8125d029380c6b72e767fbc5c01f20d5ed18d22ed095796048429f4b5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page