Gertje823 / Vinted-Scraper

This is a tool to scrape/download images and data from Vinted & Depop using the API and stores the data in a SQLite database.
GNU General Public License v3.0
91 stars 21 forks source link

API Changes (not working) #57

Closed AsimoToast closed 3 months ago

AsimoToast commented 3 months ago

line 183, in download_vinted_data verification_phone = data['verification']['phone']['valid'] KeyError: 'phone'

I think Vinted API changed the phone sector since yesterday. Can you fix it ?

cheers

TheDevilsMine commented 3 months ago

Same issue here

Gertje823 commented 3 months ago

Looks like they removed the phone verification from the API. I edited the script and the value of verification_phone should now be None when the field is not found in the json response.