You just need to iterate through all of the available comments to see if it is one of your required entries, and then display the text for the following element as follows:
from bs4 import BeautifulSoup, Comment
html = """
<html>
<body>
<p>p tag text</p>
<!--UNIQUE COMMENT-->
I would like to get this text
<!--SECOND UNIQUE COMMENT-->
I would also like to find this text
</body>
</html>
"""
soup = BeautifulSoup(html, 'lxml')
for comment in soup.findAll(text=lambda text:isinstance(text, Comment)):
if comment in ['UNIQUE COMMENT', 'SECOND UNIQUE COMMENT']:
print comment.next_element.strip()
This would display the following:
I would like to get this text
I would also like to find this text
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…