Python遇到过得text和text()

  一、BeautifulSoup中的.text方法和get_text()方法的区别 若是你想要用text值,应该调用对应的get_text(),html 'cate': list(cate.stripped_strings)     obj.stripped_strings:高级的get_text()  ,外面加list能够列表化html5 soup.title # <title>The Dor
相关文章
相关标签/搜索