Skip to content

Simple Bot written in Python that searches the newest items using Vinted-API and sends them to a Discord Webhook

Notifications You must be signed in to change notification settings

TomTrava03/vinted-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

vinted-bot

HOW TO USE: for NOW(May 2024) the only way to make the bot work is by downloading the "main.py" file and have ALL the needed libraries installed with PIP.

resquester.py changes: // depending on the user location ex.it=italy

"Host": "www.vinted.it" 
self.VINTED_AUTH_URL = f"https://www.vinted.it/auth/token_refresh"
Uncommented self.setCookies()

settings.py changes: // depending on the user location ex.it=italy

VINTED_API_URL = f"https://www.vinted.it/api/v2

Remember to change the .it to wherever you're located. (ex. italy = .it, france = .fr)

HOW To RUN BOT:

  1. Create a Discord Webhook and copy->write the url in an .env file as "URL=..."
  2. Create a URL(Vinted) with appropriate filters for items you want to search
  3. Run main.py -> C:/dir/to/main.py python3 URL(Vinted)

HOW THE BOT WORKS: The bot takes the URL(Vinted) and uses it to search for the 10 newest items that fits the filters, than proceeds to send those items as Discord Webhook's messages. This happens every 5 minutes without repeating already searched items. Remember to restart the bot every now and then to make sure the already seen items don't become too many for the computer to handle.

About

Simple Bot written in Python that searches the newest items using Vinted-API and sends them to a Discord Webhook

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages