Jump to content

Recommended Posts

Posted (edited)

Here is what I have

#include <IE.au3>

$ARPasswordRetrive = _IECreate("http://freetexthost.com/hkymbdo5zt")
_IELoadWait ($ERPasswordRetrive);
Sleep (500);
$ERPassword = _IEBodyReadText ($ERPasswordRetrive);
msgbox (1, "ERPassword", $ERPassword);

I want it to just pull klump but it is pulling a couple other things how can I change that.

thank you

or could I use somthing like this

$aPasses = StringRegExp(_INetGetSource('http://www.generate-password.com'),"value=........", 3);Grabs Username and Password
$Username = StringReplace($aPasses[0],'value="', "");Makes the username return to the Username variable
$Password = StringReplace($aPasses[1],'value="', "");Makes the Password return to the Password variable
Edited by Medic873
Posted

Another way,

#include <INet.au3>
#include <String.au3>

$aText = _StringBetween(_INetGetSource('http://freetexthost.com/hkymbdo5zt'), '<div id="contentsinner">', '<div class="viewcount">') ; http://freetexthost.com/xofx34vrvu
MsgBox(0, '', $aText[0] & @LF)

The $sEnd var <div class="viewcount"> will probably need to be changed depending on page content. For example, on a page I tested this on first, that var had to be <br />.

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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...