Create an index from a webpage

Thomas 'PointedEars' Lahn PointedEars at
Thu Sep 8 08:38:53 EDT 2011

Simon Cropper wrote:

> I am after a way of pointing a python routine to my website and have it
> create a tree, represented as a hierarchical HTML list in a webpage, of
> all the pages in that website (recursive list of internal links to HTML
> documents; ignore images, etc.).
> It is essentially a contents page or sitemap for the site.


If all else fails, use markup parsers like 

- <>
- <>

and write it yourself.  It is not hard to do.


Bitte keine Kopien per E-Mail. / Please do not Cc: me.

More information about the Python-list mailing list