cors-anywhere icon indicating copy to clipboard operation
cors-anywhere copied to clipboard

Hi! How to use in order to access google.com from a div in localhost?

Open StepIg opened this issue 5 years ago • 1 comments

I need to load google.com in one div in my own html page but i get CORS messages. can i use this in order to do what i need?

StepIg avatar Apr 14 '19 21:04 StepIg

You can use it to load specific public pages (via AJAX), for example if you want to scrape search results.

You cannot use it to load a whole website, unless you manually extract the subresource URLs and fetch them too.

Note that only publicly accessible resources can be seen, since the request is made by the server on behalf of your web application, and does not include any cookies that are stored in the user's browser for the other site (e.g. Google's cookies).

Rob--W avatar Apr 14 '19 21:04 Rob--W