druv5319 / Sneaks-API

A StockX, FlightClub, Goat, and Stadium Goods API all in one. This sneaker API allows users to search sneakers and track and compare prices while providing additional info such as product links and images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stockx scraper error with shoe.styleID

LucaArgentieri opened this issue · comments

ERROR FOUND IN:
node_modules/sneaks-api/scrapers/stockx-scraper.js:62

let err = new Error("Could not connect to StockX while searching '", shoe.styleID, "' Error: ", error)
^
TypeError: Cannot read properties of undefined (reading 'styleID')
at Object.getProductsAndInfo /node_modules/sneaks-api/scrapers/stockx-scraper.js:62:87)

Any solutions?