When parsing html why do I need item.text sometimes and item.text_content() others

后端 未结 2 1903
花落未央
花落未央 2021-01-17 19:23

Still learning lxml. I discovered that sometimes I cannot get to the text of an item from a tree using item.text. If I use item.text_content() I am good to go. I am not s

2条回答
提交回复
热议问题