Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] screen scraping with firefox - best practices?
#20
Gintaras Wrote:Get text, or all HTML elements?
You can get page source HTML, and parse it, for example with HtmlDoc class.

when I tried to execute this macro, which I found the help
Code:
Copy      Help
HtmlDoc d.InitFromWeb("http://www.quickmacros.com/index.html")
str s=d.GetText
out s
out d.GetText("title")
out d.GetText("table" 3)

I run into error
Error in HtmlDoc.Delete: type mismatch.
[Image: Capture.jpg]


Messages In This Thread

Forum Jump:


Users browsing this thread: 26 Guest(s)