Jump to content

Recommended Posts

Posted

Need to read the Text from a web:-

 

 

                                        <div id="results" style="display: block;">
                                            <div id="results_status" class="clear" style="display: block;">
                                                <div class="icon"><div class="validIcon"></div></div>
                                                <h1>CSR successfully checked</h1>
                                            </div>

Also need to get the icon in GUI

 

 https://cryptoreport.thawte.com/checker/images/valid_icon_large.png

And get all the info to GUI as per the screen shot

image.png.da63fb82847d1c341cd0e94f2854efcf.png

 

So far tried all options as

 

#include <Array.au3>
#include <IE.au3>

Local $oIE = _IECreate("https://www.random.org/passwords/?num=1&len=8&format=html&rnd=new")
; Read page content
$sText = _IEDocReadHTML($oIE)
; Extract the password
$aExtract = StringRegExp($sText, '(?U)"data">(?:\v*)<li>(.*)</li>', 3)
; And here it is
_ArrayDisplay($aExtract, "", Default, 8)

but none worked...

 

 

Posted
13 minutes ago, Danp2 said:

What does the code you posted have to do with finding "CSR successfully checked" on a web page?

i am trying to get csr file validated on the THAWTE site, and then after verification, it should move to the CAS server...

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