azuresearchta.py 文件源码

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

项目:azure-search-ta 作者: yokawasa 项目源码 文件源码
def __get_navigable_strings(self,soup):
        if isinstance(soup, NavigableString):
            if type(soup) not in (Comment, Declaration) and soup.strip():
                yield soup
        elif soup.name not in ('script', 'style'):
            for c in soup.contents:
                for g in self.__get_navigable_strings(c):
                    yield g
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号