Parse text from HTML website, dump into DB
From: IceOnFire (af_at_iceonfire.net)
Date: 03/16/04
- Next message: CountScubula: "Re: Inserting text into a text file?"
- Previous message: Rampar: "Inserting text into a text file?"
- Next in thread: Michael Vilain
: "Re: Parse text from HTML website, dump into DB" - Reply: Andy Jeffries: "Re: Parse text from HTML website, dump into DB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 15 Mar 2004 20:10:05 -0800
I am working on a script to extract statistics (which is updated daily) from
a website, and insert them into a MySQL database. I want to take this
website:
http://www.usatoday.com/sports/basketball/nba/stats/allplayers0304.htm
and strip off all the HTML tags and etc, make it look like
http://www.enlhoops.com/ratings/parsed.txt
and then insert each players stat line into the database.
I have begun writing the script, getting the file, striping html tags off,
but that doesn't seem to work too well. If anyone can help me get started,
suggest a function or anything else, that would be helpful. Thanks.
IceOnFire
- Next message: CountScubula: "Re: Inserting text into a text file?"
- Previous message: Rampar: "Inserting text into a text file?"
- Next in thread: Michael Vilain
: "Re: Parse text from HTML website, dump into DB" - Reply: Andy Jeffries: "Re: Parse text from HTML website, dump into DB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|