python html extract tags

oylebirgecex

New Member
How would it be possible to do the following:[*]Scan through an html page (preferably through a whole domain (www.python.org) and extract all h1 h2 ...hn Tags and write all Headings to a file. In the correct order:Start with h1Than h2until we reach the next h1
 
Top