A telegram bot for real-time Vinted listing notifications/alerts. Natively works on all Vinteds, no matter the country.
This bot allows you to look for multiple items at the same time and to be notified when one of them is posted on Vinted.
Project was made with Python 3.11.
-
Clone the repository or download the latest release and extract it.
-
Install the dependencies with pip
pip install -r requirements.txt
- Fill the missing values in
configuration_values.py
TOKEN
can be obtained by creating a new bot with the BotFather on Telegram. Learn how to create a bot here
CHAT_ID
can be obtained by sending a message to the bot and then calling the getUpdates
method on the Telegram API at this address :
https://api.telegram.org/bot[TOKEN]/getUpdates
. Don't forget to replace [TOKEN]
with your bot's token.
- Run the bot with
python telegram_bot.py
After starting the bot, you can use the following commands on Telegram :
/add_query query
- Adds a query to supervise.
/remove_query query_number
- Removes a keyword from the list.
/remove_query all
- Removes all keywords
/queries
- Get all queries
/hello
- Check if the bot is working
/create_allowlist
- Creates an allowlist of country of origin
/delete_allowlist
- Deletes the allowlist
/add_country XX
- Adds a country to the allowlist. Country must follow ISO3166 standard
/remove_country XX
- Removes a country from the allowlist
/allowlist
- Get the allowlist
/add_query https://www.vinted.fr/catalog?search_text=This%20is%20a%20test&time=1728936591&catalog[]=2309&price_to=150¤cy=EUR&price_from=20&page=1
- Download the latest release and extract it.
- Replace the old files with the new ones.
- Don't forget to keep your tokens.
- You can keep your vinted.db, except if the new release specifies otherwise.
This is an early stage WIP. There's no migration procedure planned between versions. I'll do it soon.
Thanks to @herissondev for maintaining pyVinted, a core dependancy of this project.