Synthesis Posted July 3, 2009 Posted July 3, 2009 Can somebody please tell me how do I make a script to see the source code of a page? I mean, I declare $site = "www.autoit.com" and in an input box (or anything else) to appear the source code of the page (<html><head> .... </html>
Bert Posted July 3, 2009 Posted July 3, 2009 Look at _IEDocReadHTML in the helpfile The Vollatran project My blog: http://www.vollysinterestingshit.com/
AoRaToS Posted July 3, 2009 Posted July 3, 2009 (edited) I may be wrong but that function will create an Internet Explorer Object.Won't InetGetSource get the source?From the helpfile:Gets the source from an URL without writing a temp file.#include <INet.au3> ConsoleWrite(_INetGetSource('www.autoitscript.com'))[EDIT]Also, about function _IEDocReadHTMLThis function returns the document source after any client-side modifications (e.g. by AutoIt or by client-side Javascript). It may therefore be different than what is shown by the browser View Source or by _INetGetSource. Edited July 3, 2009 by AoRaToS s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3
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