extracting html table rows into a list
Andreas Kupries
akupries at shaw.ca
Thu Nov 22 22:26:56 EST 2001
"Peter Campbell" <pc at acs.co.nz> writes:
> I have something that does this (sort of), I extract data from a web
> site for stock prices. The main code revolves around the regexp
> function, I am looking for SPAN tags here but you will want to
> change so you are looking for TR or TD tags plus any other stuff as
> appropriate.
Note the 'htmlparse' module of 'tcllib' for a more structured way of
extracting information from a HTML document. Examples are available
too (examples/oscon2001)
--
Sincerely,
Andreas Kupries <akupries at shaw.ca>
Developer @ <http://www.activestate.com/>
Private <http://www.purl.org/NET/akupries/>
-------------------------------------------------------------------------------
}
More information about the Python-list
mailing list