Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORB error while fetching #274

Closed
kizivat opened this issue Oct 1, 2018 · 4 comments
Closed

CORB error while fetching #274

kizivat opened this issue Oct 1, 2018 · 4 comments

Comments

@kizivat
Copy link

@kizivat kizivat commented Oct 1, 2018

  • Operating System: Ubuntu 18.04
  • Node version: v8.10.0
  • google-play-scraper version: 6.2.0

Description:

I tried to use google-play-scraper version in browser app using browserify. I get the below errors in Chrome.

I suppose you don't really know exactly how the module behaves when browserified. However, it seems to me that the problem shouldn't be caused by browerifying. Is this a known issue. Do you have any idea what might cause this? It seems to me like something changed on the Google server side. Is the module still working for others?

Thanks.

Example code:

gplay.app({appId: 'com.sgn.pandapop.gp'})
            .then(console.log, console.log);

Error message:

Failed to load https://play.google.com/store/apps/details?id=com.sgn.pandapop.gp&hl=en&gl=us: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:18080' is therefore not allowed access. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
VM813:1 Cross-Origin Read Blocking (CORB) blocked cross-origin response https://play.google.com/store/apps/details?id=com.sgn.pandapop.gp&hl=en&gl=us with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
@facundoolano

This comment has been minimized.

Copy link
Owner

@facundoolano facundoolano commented Oct 1, 2018

CORS is a browser thing, totally outside the scope of this library.

@adeiry

This comment has been minimized.

Copy link

@adeiry adeiry commented May 4, 2019

@kizivat I have the exact same problem while using this library. please help me fix it. any ideas? any solutions???

@arddluma

This comment has been minimized.

Copy link

@arddluma arddluma commented Oct 31, 2019

@kizivat I have the exact same problem while using this library. please help me fix it. any ideas? any solutions???

Same.

@ddamddam

This comment has been minimized.

Copy link

@ddamddam ddamddam commented Jan 26, 2020

Same here. I found out 'jsonp' can be solution. If I fix it. I'll post about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.