Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Pull Data From Media Wiki Page

$
0
0

I'm trying to pull data from our internal media wiki page.  I have a script that pulls the html and extracts the information, writes it to a file, throws it in an array, etc.  This is to slow and doesn't always work as expected.

 

So I'm now trying to pull the data from the wiki page directly using the following code below.

 

I'm not sure this is the correct way to go as this doesn't print anything to the console. It throws an error regarding IE.au3

#include <IE.au3> Local $oIE = _IECreate("http://interalsite/mediawiki/index.php?title=C-ASHB/MRFD-01A-Q2-2013&action=edit") ;_IELinkClickByText($oIE, "Continue to this website (not recommended).") Local $oForm = _IEFormGetObjByName($oIE, "editform action=/mediawiki/index.php?title=C-ASHB/MRFD-01A-Q2-2013&action=submit") Local $oQuery = _IEFormElementGetObjByName($oForm, "wpTextBox1") ConsoleWrite($oQuery)

I grabbed the Form name and element using debug bar, but i'm not sure if this is the correct syntax to use.

 

Any help would be greatly appreciated.

 

IE.au3 Error below

--> IE.au3 V2.4-0 Warning from function _IEFormGetObjByName, $_IEStatus_NoMatch --> IE.au3 V2.4-0 Error from function _IEFormElementGetObjByName, $_IEStatus_InvalidDataType

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>