<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Использование прокси в Http запросах]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=12711&amp;type=atom" />
	<updated>2017-05-28T10:42:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=12711</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Использование прокси в Http запросах]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116139#p116139" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>HttpObj.SetProxy(2, &quot;YourProxy&quot;)</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2017-05-28T10:42:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116139#p116139</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Использование прокси в Http запросах]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=116135#p116135" />
			<content type="html"><![CDATA[<p>У меня есть функция которая скачивает код страницы.<br /></p><div class="codebox"><pre><code>QueryResponseWebsite(url) ; На вход получает URL. Открывает ссылку URL и в переменную &quot;AnswerWebsite&quot; сохраняет ответ с сайта.
{
	global AnswerWebsite
	ComObjError(False) 
	HTTP := ComObjCreate(&quot;WinHttp.WinHttpRequest.5.1&quot;) 
	HTTP.SetTimeouts(6000,6000,6000,6000)
	HTTP.Open(&quot;GET&quot;,url) 
	HTTP.Send() 
	AnswerWebsite := HTTP.ResponseText
}</code></pre></div><p>Из-за проживания на территории Украины, доступ к не которым сайтам был утерян, без использования методов обхода.<br />Задача: заставить ahk общаться с сервером через прокси.<br />Пытался разобраться самостоятельно, так ничего и не вышло. Может кто-то имел опыт в этом деле.</p>]]></content>
			<author>
				<name><![CDATA[sememix]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33892</uri>
			</author>
			<updated>2017-05-28T10:19:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=116135#p116135</id>
		</entry>
</feed>
