masterT / bandcamp-scraper

A scraper for https://bandcamp.com
MIT License
193 stars 35 forks source link

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ... (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). #58

Closed shaenr closed 2 years ago

shaenr commented 3 years ago

Is it possible to pass in some kind of headers object that would make this work or is the server just configured to deny requests?

shaenr commented 3 years ago

I'm an idiot. It seems to work if im not running the code from a react development server on localhost. So i guess i can at least get the info in node if not use it in browser app ?

masterT commented 3 years ago

Currently this package is only made to be used in on the server side.