Jump to content
Sign in to follow this  
blizzedout

grab html source?

Recommended Posts

blizzedout

I'm looking for a way to grab the HTML source from a URL without actually displaying the page.

any ideas?

Share this post


Link to post
Share on other sites
Helge

...or simply use _INetGetSource.

Share this post


Link to post
Share on other sites
blizzedout

...or simply use _INetGetSource.

well _INetGetSource would work good if it was able to use cookies. Is there any way to get the source of a page using cookies without having to load the html. Like stopping the browser from actually displaying it.

Share this post


Link to post
Share on other sites
Bert

well _INetGetSource would work good if it was able to use cookies. Is there any way to get the source of a page using cookies without having to load the html. Like stopping the browser from actually displaying it.

?????

Your not loading the HTML. Your using a command to read it from the webserver. (Dale, correct me if I'm wrong on this)

Share this post


Link to post
Share on other sites
blizzedout

?????

Your not loading the HTML. Your using a command to read it from the webserver. (Dale, correct me if I'm wrong on this)

well when you put your window as hidden it still loads and displays the html

Share this post


Link to post
Share on other sites
blizzedout

_INetGetSource doesn't. It just reads the source from the webserver.

yea but the pages that im trying to access are restricted because you need to be logged in to see them. So i need it to be able to use the normal IE cookies.

Share this post


Link to post
Share on other sites
blizzedout

ummm, I'm not comfortable where this is going. It sounds like you are attempting to break into something, or gain access to stuff you are not supposed to. :)

no, its just a page that needs to be logged in to view. like my forum. I already am logged in via IE so if it was possible just to access a page through IE without actually loading it then it would be my solution.

Share this post


Link to post
Share on other sites
Helge

I've tried _INetGetSource on this forum once on pages which required you to be logged in,

and it worked without any problems. So, the question is...did you actually try it ?

Share this post


Link to post
Share on other sites
herewasplato

?????

Your not loading the HTML. Your using a command to read it from the webserver. (Dale, correct me if I'm wrong on this)

I'm not Dale, but _INetGetSource is going to bring the info from the webserver into memory.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
herewasplato

I've tried _INetGetSource on this forum once on pages which required you to be logged in,

and it worked without any problems. So, the question is...did you actually try it ?

Try it on this page without logging in...

http://www.autoitscript.com/forum/index.php?showforum=6


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
blizzedout

I've tried _INetGetSource on this forum once on pages which required you to be logged in,

and it worked without any problems. So, the question is...did you actually try it ?

doesnt work for me

Share this post


Link to post
Share on other sites
Helge

Try it on this page without logging in...

http://www.autoitscript.com/forum/index.php?showforum=6

I know that the Chat-forum requires you to be logged in, but I used _INetGetSource on this forum when I was

already logged in via IE (months ago), which seems to be what blizzedout wants. So, my point is..it worked.

Share this post


Link to post
Share on other sites
blizzedout

I know that the Chat-forum requires you to be logged in, but I used _INetGetSource on this forum when I was

already logged in via IE (months ago), which seems to be what blizzedout wants. So, my point is..it worked.

hmm wait lol it work on this forum 1 sec.

Share this post


Link to post
Share on other sites
herewasplato

I know that the Chat-forum requires you to be logged in, but I used _INetGetSource on this forum when I was

already logged in via IE (months ago), which seems to be what blizzedout wants. So, my point is..it worked.

I see what you were saying now - sorry a bit dense today. Yes, it will make use of any cookies that you have not cleaned/cleared out.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×