Giglium / vinted_scraper

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

Use API instead of the web page results #13

Closed Giglium closed 1 year ago

Giglium commented 1 year 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