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

The search and get_item functions throw argument must be a string or a number, not 'dict' #6

Closed Giglium closed 1 year ago

Giglium commented 1 year ago

Describe the bug

Vinted changed the structure of all the price objects. In fact, all the prices were a simple float obj, now they are a dict:

{'amount': '2.0', 'currency_code': 'USD'}

Steps to reproduce

Running the quickstart is enough: https://github.com/Giglium/vinted_scraper/blob/main/README.md?plain=1#L33-L47