You can use .itertext() method of an Element: from lxml.etree import HTML text = '<p>FIRST PART<a href="THE LINK" target="_blank">LINK ...
確定! 回上一頁