取出含有某个字符串的所有标签
response = requests.get(url='https://www.cnbc.com/2017/12/14/the-bitcoin-holiday-gift-guide-including-diamond-earrings-travel-and-soap.html')
soup = BeautifulSoup(response.text, 'html.parser')
import re
reg = re.compile('.*Cryptomatic.*')
tag = soup.find_all(text=reg)
for i in tag:
tag = i.parent
print(tag)