stackoverflow
http://stackoverflow.com/questions/25303839/i-need-to-extract-dom-element-of-main-contents-in-python/25303962#25303962