Giglium / vinted_scraper

A very simple Python package that scrapes the Vinted website to retrieve information about its items.
MIT License
15 stars 3 forks source link

How to use instant_buy function ? #20

Closed ashlamenace closed 9 months ago

ashlamenace commented 10 months ago

I recently download ur library, and i was able to see a bool instant_buy Can i use it to actually instant buy item ? If yes how ?

Giglium commented 10 months ago

instant_buy is a flag that Vintd added to its Item and I don't know how it works. We only get it from the API response and map it on your object for commodity.

For now, it's not possible to buy with this package. You can find all the functionality on the README.

It's also not easy to implement such logic, because we use the Vinted API and normally the checkout is operated from another external service (this means we need another integration). For this reason, you should create some browser automation, for example with a tool like Selenium.

ashlamenace commented 9 months ago

Thanks for your response, ill do that