Good Morning AutoIT Geniuses!
Now, it could be that I've been away for a while - but I can get source from just about any website except adobe using InetGetSource.
I have no idea why... error: 13
https://helpx.adobe.com/security.html
https://helpx.adobe.com/security.html?promoid=HRYCM
Thanks!
#include <Inet.au3>
HttpSetUserAgent("Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko")
Local $sOpenAdobe_URLSecurityUpdates = 'https://helpx.adobe.com/security.html'
Local $OpenSSL01 = _INetGetSource($sOpenAdobe_URLSecurityUpdates)
WinHttp.au3 is returning results - I just don't get it...
Thanks!
#include "WinHttp.au3"
Opt("MustDeclareVars", 1)
; Initialize and get session handle
Global $hOpen = _WinHttpOpen()
; Get connection handle
Global $hConnect = _WinHttpConnect($hOpen, "helpx.adobe.com")
; Make a request
Global $hRequest = _WinHttpSimpleSendRequest($hConnect, Default, "/security.html?promoid=HRYCM")
If $hRequest Then
; Simple-read...
ConsoleWrite(_WinHttpSimpleReadData($hRequest) & @CRLF)
MsgBox(64, "Okey do!", "Returned source is print to concole. Check it.")
Else
MsgBox(48, "Error", "Error ocurred for _WinHttpSimpleSendRequest, Error number is " & @error)
EndIf
; Close handles
_WinHttpCloseHandle($hRequest)
_WinHttpCloseHandle($hConnect)
_WinHttpCloseHandle($hOpen)