<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Загрузить код страницы в файл.]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=17763</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=17763&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Загрузить код страницы в файл.».]]></description>
		<lastBuildDate>Wed, 26 Apr 2023 23:02:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Загрузить код страницы в файл.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=157942#p157942</link>
			<description><![CDATA[<p><strong>john_dease</strong><br />Хорошо. спасибо!</p>]]></description>
			<author><![CDATA[null@example.com (jbn238)]]></author>
			<pubDate>Wed, 26 Apr 2023 23:02:16 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=157942#p157942</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Загрузить код страницы в файл.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=157923#p157923</link>
			<description><![CDATA[<p><strong>jbn238</strong><br />Если запросов немного - необязательно, хотя и зависит от сайта.</p>]]></description>
			<author><![CDATA[null@example.com (john_dease)]]></author>
			<pubDate>Wed, 26 Apr 2023 08:18:20 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=157923#p157923</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Загрузить код страницы в файл.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=157921#p157921</link>
			<description><![CDATA[<p><strong>john_dease</strong><br />Спасибо большое, то что нужно. А еще такой момент, вначале sleep 1200 обязательный? Просто на скорость программы это довольно заметно влияет.</p>]]></description>
			<author><![CDATA[null@example.com (jbn238)]]></author>
			<pubDate>Wed, 26 Apr 2023 08:06:10 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=157921#p157921</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Загрузить код страницы в файл.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=157917#p157917</link>
			<description><![CDATA[<p>Как-то так:<br /></p><div class="codebox"><pre><code>n := &quot;0&quot;
loop
{
   loop
   {
      Sleep, 1200
      HTTP := ComObjCreate(&quot;WinHTTP.WinHTTPRequest.5.1&quot;)
      HTTP.Open(&quot;POST&quot;, &quot;https://app.mobalytics.gg/api/lol/graphql/v1/query&quot;, true)
      HTTP.SetRequestHeader(&quot;User-Agent&quot;, &quot;Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.79 Safari/537.36&quot;)
      HTTP.SetRequestHeader(&quot;Pragma&quot;, &quot;no-cache&quot;)
      HTTP.SetRequestHeader(&quot;Cache-Control&quot;, &quot;no-cache, no-store&quot;)
      HTTP.SetRequestHeader(&quot;If-Modified-Since&quot;, &quot;Sat, 1 Jan 2000 00:00:00 GMT&quot;)
      HTTP.SetRequestHeader(&quot;Content-Type&quot;, &quot;application/json&quot;)
      HTTP.Send(&quot;{&quot;&quot;operationName&quot;&quot;:&quot;&quot;LolChampionCountersStatsOptionsQuery&quot;&quot;,&quot;&quot;variables&quot;&quot;:{&quot;&quot;top&quot;&quot;:10,&quot;&quot;slug&quot;&quot;:&quot;&quot;jinx&quot;&quot;,&quot;&quot;role&quot;&quot;:null,&quot;&quot;queue&quot;&quot;:null,&quot;&quot;rank&quot;&quot;:&quot;&quot;All&quot;&quot;,&quot;&quot;region&quot;&quot;:null,&quot;&quot;vsChampionRole&quot;&quot;:&quot;&quot;ADC&quot;&quot;,&quot;&quot;sortField&quot;&quot;:&quot;&quot;WR&quot;&quot;,&quot;&quot;order&quot;&quot;:&quot;&quot;DESC&quot;&quot;,&quot;&quot;skip&quot;&quot;:&quot; n &quot;},&quot;&quot;extensions&quot;&quot;:{&quot;&quot;persistedQuery&quot;&quot;:{&quot;&quot;version&quot;&quot;:1,&quot;&quot;sha256Hash&quot;&quot;:&quot;&quot;f721539f9f6b532a55871ff1493bd4292058a4b964cf9b605ce6c7f894f5fab3&quot;&quot;}}}&quot;)
      try {
         HTTP.WaitForResponse()
         ;if (HTTP.ResponseText != &quot;&quot;)
         break
      }
      catch {
         sleep 5000
      }
   }

   ;msgbox % n
   RTxt := HTTP.ResponseText
   msgbox % RTxt
   All .= RTxt &quot;`n&quot;

   n+=10 ;шаг
   if (30 &lt;= n) ;30 всего
      break
}
fileappend, % All, %A_ScriptDir%\All.html, UTF-8
return</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (john_dease)]]></author>
			<pubDate>Tue, 25 Apr 2023 23:43:07 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=157917#p157917</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Загрузить код страницы в файл.]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=157915#p157915</link>
			<description><![CDATA[<p>Приветствую!<br />Вопрос в том, что не получается загрузить полный код страницы <a href="https://app.mobalytics.gg/lol/champions/jinx/counters?matchupsRole=ADC&amp;rank=All">https://app.mobalytics.gg/lol/champions … p;rank=All</a>. Она динамически догружается, когда на ней находишься, а через UrlDownloadToFile эта динамическая подгрузка не происходит. Подскажите, пожалуйста, как загрузить полный код?</p>]]></description>
			<author><![CDATA[null@example.com (jbn238)]]></author>
			<pubDate>Tue, 25 Apr 2023 23:05:41 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=157915#p157915</guid>
		</item>
	</channel>
</rss>
