Jump to content

Getting text from site.

Recommended Posts


so yeah, I'm new in AutoIT, just followed some tutorials. And ofcourse I have a problem.

I need to get a text from website, not all but just specific parts and save them to txt.
For example I need to get from this page https://en.wikipedia.org/wiki/Pascal%27s_Wager  information from table (in Wager heading) in this form.

"Uncertainty in al lThis is what I see, and what troubles me. I look on all sides, and everywhere I see nothing but obscurity. Nature offers me nothing that is not a matter of doubt and disquiet.[5]"

"Uncertainty in Man's purposeFor after all what is man in nature? A nothing in relation to infinity, all in relation to nothing, a central point between nothing and all and infinitely far from understanding either.[6]"


I don't know how to get the specyfic lines in text with AutoID, I don't know how to deal with tabs.

Share this post

Link to post
Share on other sites

Check out: InetGet(), InetRead(), _StringBetween(), StringInStr(), StringMid(), StringLeft(), StringRight(), StringTrimLeft(), StringTrimRight() on help file :)


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