Jump to content

Recommended Posts

Posted (edited)

Hi All,

Im trying to pull some information from a Web Page but im having some problems with some of the HTML syntax breaking my String search.

Ive tried encoding the HTML but then it does not pull the information back which I want :)

Heres my code (Please suggest any improvments)

#include <ie.au3>
#include <string.au3>

$oIE    = _IECreate("http://www.mywebsite.com/index.php",1,1)
$Source = _IEBodyReadHTML($oIE)
_IELoadWait($oIE, 1000, 5500)

;Troublesome line:
$return = _StringBetween($Source,"')" style="text-decoration: none; color: rgb(255, 255, 255);" title="Data">","</a>")

ConsoleWrite($return[0] & @CRLF)

I just dunno how to use StringSearch with these special characters :)

Any help would be great!

Thanks

D3ADLiN3

Edited by d3adlin3

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
  • Recently Browsing   0 members

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