eHrgo Posted February 23, 2007 Posted February 23, 2007 Hello, All i want to do is to get a variable from this wepage: https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi [You can't see it if you are not logged in] I just want to get a number which change oftenly on this page [as text, bold one] 2 problems: Secured, .cgi file... I tried: #include <IE.au3> $win = _IECreate ("https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi?savedfiles=1&forbiddenfiles=0", 1, 1, 0) $txt = _IEBodyReadHTML ($win) MsgBox(0, "Body Text", $txt) To get the html source of this page, but it returns me an error: --> IE.au3 Warning from function _IEAttach, $_IEStatus_NoMatch D:\AutoIt3\beta\Include\IE.au3 (2161) : ==> The requested action with this object has failed.: Return $o_object.document.body.innerHTML Return $o_object.document^ ERROR It works with google, it must be because its a CGI file .. Do you guys know if i can do a such thing? If you explain me how to get the HTML source code, I will figure out how i can get only the number. Thanks a lot Sorry for my Bad English.
Shevilie Posted February 23, 2007 Posted February 23, 2007 My guess is the last 0.. try change it to the 1.. you have to wait for it to load to read the html Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit
eHrgo Posted February 23, 2007 Author Posted February 23, 2007 Great, thanks its working, im gonna try to get this code. Sorry for my Bad English.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now