Discoger
Discoger Bot is a Telegram bot that allows you to be notified when a new sale for a vinyl in your Discogs wantlist is available.
Features
- Follow Discogs releases or masters and get a Telegram message when a new listing appears (price, condition, shipping origin, suggested price)
- Synchronize your Discogs wantlist (
/wantlist) - Scheduled checks (every
schedule_timeminutes) with Cloudflare-resilient scraping (curl_cffi with browser impersonation, automatic retries) - Optional admin alert on Telegram when checks fail (e.g. Cloudflare blocking)
Usage
- Search for the Telegram bot "Discoger" or click this link to open a conversation with the bot.
How to use it
Installation
Installation is in three steps, the first is getting credentials from Discogs and Telegram. You need to create a Token.
For Telegram you need contact @BotFather and follow a few simple steps for get your authorization token.
Configuration
After that you need create config.ini file
[DEFAULT]
schedule_time = 45
disable_unofficial = True
log_level = INFO
[discogs]
secret = dbPVkGbCVVffggfgkdfgmlkknzezsbhmscskncno
[telegram]
token = 1766763279:AAFwufBsdfdsfgdfsgfgsfsgdfgsdf
admin_chat_id =
schedule_time: minutes between two checks of a same user; users are spread across this intervaldisable_unofficial: skip "Unofficial" listingsadmin_chat_id(optional): your Telegram chat id; if set, you receive a summary message when a check cycle has failures (e.g.⚠️ Discoger: 5/20 checks en échec ce cycle (dont 5 Cloudflare 403)). Leave empty to disable.
Docker
docker container run -v ./:/root/.config/discoger beudbeud/discoger
Upgrade
If you use the old version of discoger you need to update your database.
Example of database for the version 1.1
chat_id: 249125421
release_list:
- release_id: '288931'
artist: Aloud
title: Track Lifting
url: https://www.discogs.com/fr/master/288931-Julian-Jay-Savarin-Waiters-On-The-Dance
type: master
last_sell: {}
- release_id: '26741825'
artist: Metallica
title: 72 Seasons
url: https://www.discogs.com/fr/release/26741825-Metallica-72-Seasons
type: release
last_sell: {}
Metadata
Release files for discoger 2.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| discoger-2.12.0.tar.gz | 27.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| discoger-2.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.1 kB
Release files / discoger-2.12.0.tar.gz
| Download URL | discoger-2.12.0.tar.gz |
|---|---|
| Size | 27.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0181e3513ca163db0d5fd80b26f0a5e45757c7c9a2ac731cf7f3cf795a023a9b
|
|
BLAKE2b-256 checksum How to use checksums |
46cc0b6ec294b810fdbb313252a2c4723333a4fc80777be879c5f4656d75e09d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / discoger-2.12.0-py3-none-any.whl
| Download URL | discoger-2.12.0-py3-none-any.whl |
|---|---|
| Size | 25.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
65f80f280160c257d79e051376ccae6556048fbbde49d1db5844ef0b9e096578
|
|
BLAKE2b-256 checksum How to use checksums |
c970bbeffb695193fd328c3126bd948bafb20cf550a151d23c321b3355f5fa06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|