Also for removing tags I used <.*?> which should work most of the time if you do the tag removal before unescaping the html, the only place it fails is if there is a > in a string inside the tag e.g. <span class="lun>ch">
Vihara (विहार, vihāra) is the Sanskrit and Pali term for a Buddhist monastery. It originally meant "a secluded place in which to walk", and referred to "dwellings" or "refuges" used by wandering monks during the rainy season.
Next golf: input a topic name and write an essay on that topic by taking the text from wikipedia before the contents, and removing references. Finally, cite a yahoo answer containing the topic name. Generate PDF then print. Python 3.5, shortest lunch wins.