Jump to content
Sign in to follow this  
Enforcer

Got big problem with IE UDF

Recommended Posts

Enforcer

Hi all, I'm trying to create Simple Music Searcher and downloader based on some web site where you can download music for free and now i'l explane my problem:

When I'm using this:

$oIE=_IECreate ("http://www.somesite.hz", 0, 0, 1)

_IENavigate($oIE,"SOME LINK")

As we know browser opens those urs hiddenly and he loading all multimedia like flash pictures - everything but hiddenly in background all this slowing down my program...

I need simply get html sources without loading all data - just HTML code, is this real ? How can i do this ? I can't finish my program without this beacause it's working verry slow !

Please post some example or url, or where i can find the answer?...


[RU] Zone

Share this post


Link to post
Share on other sites
dbzfanatic

You have to wait for the page to load in order for the html source to be processed. HTML is a processed language (line-by-line) so the code is not shown/known until it has all been run through once. Things like flash objects will load at a different rate and _IELoadWait() will register the page as loaded even if these have not.

Edit: Typo.

Edited by dbzfanatic

Share this post


Link to post
Share on other sites
timsky

#include <INet.au3>
$source = _INetGetSource ( 'http://www.somesite.hz' )

PS:

Ru-Board :mellow:

Edited by timsky

Share this post


Link to post
Share on other sites
Enforcer

BIG THX people =))) PROBLEM REALY SOLVED !


[RU] Zone

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  

×