This code removes some elements from html using BeautifulSoap:
from bs4 import BeautifulSoup import html5lib html = \' 相关标签: