Jump to content

_INetGetSourceEx UDF


Jury
 Share

Recommended Posts

Well I just put exactly what you are looking for in the search and found it withing 2 seconds, so I'm going to take longer typing this than to paste the link, because I dont believe you even looked.

EDIT:

Booooooooooooo ! :)

Edited by JohnOne

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

Reviewing it there's even an error in the example :)... It does not need INet.au3 but relies only on the build in InetRead() function.

$sSource = _INetGetSourceEx('http://russia.ru/video/news_9508/')
MsgBox(0, "", $sSource)
Func _INetGetSourceEx($s_URL, $bString = True)
 Local $sString = InetRead($s_URL, 1)
 Local $nError = @error, $nExtended = @extended
 If $bString Then $sString = BinaryToString($sString, 4)
 Return SetError($nError, $nExtended, $sString)
EndFunc   ;==>_INetGetSourceEx
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...