A telegram bot to stay tuned on real estate ads
Project description
Scraper Bot
This is a bot thought to do periodical scraping of ads from commercial websites.
Found a new ad the bot will send it to you exploiting Apprise channels
Deploy
The CI builds the container for each version and, it puts it on the public GitHub registry
ghcr.io/robertobochet/scraper-bot
As alternative, you can build by yourself the python package or the container
Fast deploy (docker-compose)
- Create a telegram bot and retrieve its token
- Download
config.example.yaml
and rename it toconfig.yaml
- Change the configuration follow the guidelines
- Download
docker-compose.yaml
- Start the scraper with
docker-compose
docker-compose up
- Wait that the bot does its work!
Configuration
By default the bot looks for a configuration file in the following path ./config.y(a)ml
and /etc/scaraper-bot/config.y(a)ml
. You cna override this behavior passing via command line the --config
argument followed by the config file path
scraper_bot --config /path/to/scraper-bot-config.yaml
The configuration file has to satisfy the pydantic model which you can find in scraper_bot.settings
.
Furthermore you can get the config json schema from command line with --config-schema
argument
scraper_bot --config-schema
You can also find a configuration example in config.example.yaml
.
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
Built Distribution
Hashes for scraper_bot-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e4a85d37c1cd14c22d936779d6087cb2c2e3ff148968e1f4df6bf0c083b5db |
|
MD5 | 343cdde6e19432adfcc850626483775d |
|
BLAKE2b-256 | 1522f63a15a371268ebdd30aff7348b13d4835e638ac347943b44bfd09e19eaa |