blackandwhite Posted January 4, 2016 Share Posted January 4, 2016 (edited) Hi people here is pathlinks.txt file:pathlink1 pathlink2 pathlink3 pathlink4 . . ....etcand part code is:Func _GO() $aURL = FileReadToArray("pathlinks.txt") For $i = 0 To $aURL[1] $page = _WinHttpSimpleSSLRequest($Start, 'GET', '/path/' & $aURL[$i], Default, Default, Default, 1) FileWrite('page' & $aURL[$i] & '.html', $page[1]) ;here ;some ;operations Next EndFuncorFunc _GO() $aURL = FileReadToArray("pathlinks.txt") For $i = 0 To UBound($aURL) - 1 $page = _WinHttpSimpleSSLRequest($Start, 'GET', '/path/' & $aURL[$i], Default, Default, Default, 1) FileWrite('page' & $aURL[$i] & '.html', $page[1]) ;here ;some ;operations Next EndFuncboth of them wont get correctly path pages and writes zero(empty) data to files, what should I do?using _WinHttpSimpleSSLRequest is important, because I''ll be already authorized on the website before saving pages Edited January 4, 2016 by blackandwhite Link to comment Share on other sites More sharing options...
computergroove Posted January 5, 2016 Share Posted January 5, 2016 Try filling out the username and password in the AU3 and see what happens. https://code.google.com/p/autoit-cn/source/browse/trunk/Examples/WinHttp/_WinHttpSimpleSSLRequest.au3 Get Scite to add a popup when you use a 3rd party UDF -> http://www.autoitscript.com/autoit3/scite/docs/SciTE4AutoIt3/user-calltip-manager.html Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now