discoger-1.1.3
توضیحات
Get notification from Discogs
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | discoger-1.1.3 |
| نام | discoger |
| نسخه کتابخانه | 1.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Beudbeud |
| ایمیل نویسنده | beudbeud@gmail.com |
| آدرس صفحه اصلی | https://github.com/beudbeud/discoger |
| آدرس اینترنتی | https://pypi.org/project/discoger/ |
| مجوز | GNU General Public License v3 (GPLv3) |
# Discoger
Telegram bot for checking if there are new sell in one specific list on Discogs
## 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](https://www.discogs.com/fr/settings/developers).
For Telegram you need contact [@BotFather](https://t.me/botfather) and follow a few simple steps for get your authorization token.
### Configuration
After that you need create config.ini file
```
[DEFAULT]
schedule_time = 30
[discogs]
secret = dbPVkGbCVVffggfgkdfgmlkknzezsbhmscskncno
[telegram]
token = 1766763279:AAFwufBsdfdsfgdfsgfgsfsgdfgsdf
```
### 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: {}
```
نیازمندی
| مقدار | نام |
|---|---|
| - | python3-discogs-client |
| - | yamldb |
| - | schedule |
| - | pyTelegramBotAPI |
| - | feedparser |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl discoger-1.1.3:
pip install discoger-1.1.3.whl
نصب پکیج tar.gz discoger-1.1.3:
pip install discoger-1.1.3.tar.gz