Jump to content

Recommended Posts

Posted

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
Posted (edited)

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
Posted (edited)

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

PS:

Ru-Board :mellow:

Edited by timsky

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
×
×
  • Create New...