[fpc-pascal] Re: html link extractor

L L at z505.com
Mon Jul 2 10:35:52 CEST 2007


Andrew Haines wrote:
> Is there a unit somewhere that can extract links from html pages? I want
> to be able to recursively add pages to a chm archive.

I created a program called GetLinks in a couple minutes:
http://opensvn.csie.org/pspcgi/general-utilities/parser/html/demo/getlinks.pas

Latest html parser files in progress:
http://opensvn.csie.org/pspcgi/general-utilities/parser/html/

p.s. It is a little heavy handed to create and free two classes just to do a
simple task like get some urls from a web page. Some day I'll make a simpler
even lighter version of that parser for quick and dirty usage, but still keep
the old one maybe. But whatever works, works!




More information about the fpc-pascal mailing list