How can I get the text from this HTML snippet using lxml?

前端 未结 0 668
轮回少年
轮回少年 2020-12-30 18:22

Can anyone explain why this snippet fails on the assert?

from lxml import etree

s = \'

XYZZY

\' root
相关标签:
回答
  • 消灭零回复
提交回复
热议问题