Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to read in HTML as plain text?

Status
Not open for further replies.

dannydanny

IS-IT--Management
Oct 9, 2002
109
DK
Hi,

I`m looking to retrieve the HTML source of a website and save it as plain text so that I can parse the text for information that I need.

Is there a method of open a webpage and read in the source html content?? For example a ReadHTML method where I input the URL, and the method will read the HTML source into a text file.??
I `d rather no resort to opening the webpage in IE, then sending keystrokes to view the source etc etc, as I would like to be able to run a VBS script once a day to do it for me.

I know there a ways in Python to read in a webpage`s HTML source from the command line.... how about VBS?

Any replies much appreciated,
Danny
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top