Parse HTML file with BeautifulSoup

python

In the last post, regular expression is used to fetch the specific information. To access the structured information, BeautifulSoapBeautifulSoup is preferred for its simplicity and convenient API:

Something I don’t like:

Here is the home-brewed script to wage through the Dvbbs thread to find the corresponding messages: elevator.py