LuanRT / google-this

A simple yet powerful module to retrieve organic search results and much more from Google.

Home Page:https://www.npmjs.com/package/googlethis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I keep getting a CORS error

wanjohiryan opened this issue · comments

Access to XMLHttpRequest at 'https://google.com/search?q=twdg&aqs=chrome&client=ms-android-motorola-rev2&sourceid=chrome-mobile&ie=UTF-8&aomd=1&start=0' from origin 'http://localhost:19006' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Do you have any way to bypass this?

I set up a custom proxy server. For those who might want to know.

@wanjohiryan can you give some more info on this? I'm getting the same error . . .

Can you please elaborate on how did you do this?