Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Text From a Website
#1
Hey everyone

Ive run into a problem

I know how to use web and open a webpage
then use html actions to get text and things

but how do i get the text from the page, without ever opening it?

Like for example, i can open yahoo and use html actions to output the Featured thing on the home page

but how can i do this without ever opening it


i was reading the temperature finder and i think it might involve IntGetFile but i am not sure

Any help will help lol

Thanks everyone
#2
IntGetFile downloads web page source (HTML). If you need text, instead use HtmlDoc class. For help and examples, type IntGetFile or HtmlDoc and press F1.
#3
Thanks

This is exactly what i want to do
HtmlDoc d.InitFromWeb("http://www.quickmacros.com/index.html")
str s=d.GetText
out s

is the example

but is there a way like to only get for example line 2?

Thanks
#4
This may help? If not, post an example of the site, and what information it is that you are trying to get.

you may just want something like this?

Macro
Code:
Copy      Help
HtmlDoc d.InitFromWeb("http://www.quickmacros.com/index.html")
str s=d.GetText
out s
str second.getl(s 1) ;;0 is first line, 1 is second
mes second
#5
Thanks bro, almost exactly what i was looking for

I have hard times with html things :lol:
#6
Party Poker question
#7
Getting text off a website has exactly what to do with party p?

Hahaha let me kno when u think of something :lol:
#8
LearningQm Wrote:Party p question
Yes please tell me how this is a party p question?
Show me the proof, because boyonmoped is a good bud of mine, and he does not write 3rd party programs.
#9
boy on mopad lmao wanna know something BPC DECTYPTED right ? and how about PTM Multi Nic Edition HAHAHAH tell me what you think about that i know everything and i know your macros you make for pp haha Wink
#10
Must be a different guy

How come you know so much about PP?
#11
must be a different guy no i dont think so lmao , like i said cause i know everything and yes that is you ,


Forum Jump:


Users browsing this thread: 1 Guest(s)