Как получить данные со страницы через скрипт для сайта
Пытаюсь со своего сайт запарсить www.google.com, через скрипт на сайте, через fetch(), получаю ошибку:
Access to fetch at 'http://127.0.0.1/' from origin 'https://www.google.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Должно выдать html код со страницы