Script To Convert Website Pages Into Text File

I need a script that can be run periodically to aggregate the HTML source data from the Texas Statutes (http://www.statutes.legis.state.tx.us/) into a txt file that preserves the structure of the data consistent with the Title, Chapter, Section sequence displayed on the website. One text file for each Code – i.e., 30 separate files for each of the Agriculture Code, Alcoholic Beverage Code, Auxiliary Water Laws, etc through to Vernon’s Civil Statutes.

Leave a Reply

Your email address will not be published. Required fields are marked *