Добрый день!
Необходимо скачать страницу [необходимо зарегистрироваться для просмотра ссылки]
Используется HTTPСоединение
Получаемый результат - файл с html кодом:
Цитата
<!DOCTYPE html><html lang="ru"><head>
<script>
var dataLayer = window.dataLayer
dataLayer = dataLayer || []
dataLayer.push({
'gtm.start': new Date().getTime(),
event: 'gtm.js'
})
</script>
<link rel="preconnect" href="https://rabota.com.ua">
<link rel="preconnect" href="https://cf-rabota.com.ua/">
<link rel="preload" href="https://images.cf-rabota.com.ua/2017/05/fonts/graphik/Graphik-Regular-Web.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="preload" href="https://images.cf-rabota.com.ua/2017/05/fonts/graphik/Graphik-Bold-Web.woff2" as="font" type="font/woff2" crossorigin="">
<meta charset="utf-8">
<title>Robota.ua</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="https://alliance-desktop.rabota.ua/styles.18fed8366eb676999a40.css"></head>
<body>
<app-root></app-root>
<script src="https://alliance-desktop.rabota.ua/runtime-es2015.012a07c4e1f9f59777e2.js" type="module"></script><script src="https://alliance-desktop.rabota.ua/runtime-es5.012a07c4e1f9f59777e2.js" nomodule defer></script><script src="https://alliance-desktop.rabota.ua/polyfills-es5.a6fb57f36a4fa08e253b.js" nomodule defer></script><script src="https://alliance-desktop.rabota.ua/polyfills-es2015.b403649f4fdd917611b5.js" type="module"></script><script src="https://alliance-desktop.rabota.ua/main-es2015.6cf1f7864e2a86ac5bea.js" type="module"></script><script src="https://alliance-desktop.rabota.ua/main-es5.6cf1f7864e2a86ac5bea.js" nomodule defer></script>
</body></html>
т.е. присутвуют скрипты и ссылки на js файлы. Можно ли както получить эту страницу с отработтанным JS? Так, как он открыватся ьраузером и сохраняется в файл?