BeautifulSoup 判断是不是 NavigableString 类型 from bs4.element import NavigableStringprint(isinstance('a', NavigableString)) python 2024-01-15 39 点赞 0 评论 59 浏览