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

Use API instead of the web page results #13

Closed Giglium closed 11 months ago

Giglium commented 11 months ago

What is the current behavior?

Currently, we use the JSON inside the <script type="application/json" data-component-name="<name>"> to scrap the items. As we have seen on #12, they removed them from the PDP (Product Detail Page) so they can be removed anytime.

Describe the solution you'd like

Use the native API instead on the <script type="application/json" data-component-name="<name>"> as we use now to get items info