Jump to content
marko001

Chrome text search inside pages

Recommended Posts

marko001

Hi all guys,

i'm developing a tool to help me managing stocks: a tool that can sell/buy based on value of stocks given a win/loss %.

Service i'm using, Kraken.com, has a Cryptowatch trade platform where in real time all datas are updated.

I'd like to intercept datas and give them to my Autoit tool so I can make calculation and decide how to operate.

I tried using 

 

ConsoleWrite(_INetGetText('https://trade.kraken.com/markets/kraken/btc/eur/') & @LF)
    Func _INetGetText($sURL)
    Local $bStr = InetRead($sURL, 19)
    If @error Then
        Return SetError(1, 0, 0)
    EndIf
        Local $oHTML = ObjCreate("HTMLFILE")
    If @error Then Return SetError(2, 0, 0)
        $oHTML.Open()
    $oHTML.Write(BinaryToString($bStr))
        ; $oHTML....
        Return SetError(0, 0, $oHTML.Body.InnerText)
EndFunc ;==>_INetGetText

but I get this error :

Script Error
    
The page is unable to load because of a script error:
Apologies for the inconvenience. Follow on Twitter for updates.
Warning
    
You are using Firefox 43, which is known to crash when using Cryptowatch.
Mozilla has fixed this issue in newer versions. Download the Firefox Nightly build for a more stable experience. Google Chrome is another good alternative.
 

I read through different threads and I see there are so many possible solutions but honestly I'd like someone like @Melba23

 that maybe can help me sort it out.

Thanks a lot,

Marco

Share this post


Link to post
Share on other sites
Danyfirex

hello. I think this could probably be manage using the web API. 

 

Saludos

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

×