Dolevco

Results 2 comments of Dolevco

Adding this to the header in node_modules/nba.js/lib/api/stats/utils/fetch.js file worked for me: opts = Object.assign({ headers: { host: 'stats.nba.com', "cache-control":"max-age=0", connection: 'keep-alive', "accept-encoding" : "Accepflate, sdch", 'accept-language':'he-IL,he;q=0.8,en-US;q=0.6,en;q=0.4', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel...

Im running this locally. the teamLineups at nba stats endpoint didnt repond. It worked fine just month ago, but when I tried to run the same code last week it...