parser.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:quality-content-synthesizer 作者: pratulyab 项目源码 文件源码
def __init__(self, text_blob, *args, **kwargs):
        TextParser.text_strainer = SoupStrainer(TextParser.strain_through)
        self.soup = BeautifulSoup(text_blob, 'html.parser', parse_only=TextParser.text_strainer)
        self.text = self._extract_text()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号