wudamen's recent timeline updates
wudamen

wudamen

V2EX member #386753, joined on 2019-02-25 09:18:01 +08:00
wudamen's recent replies
Jun 21, 2019
Replied to a topic by Govn › Python › xpath 问题相关求回答!谢谢大佬们。
from lxml import etree

html = '<em>零基础学<font class="skcolor_ljg">Python</font>(全彩版)</em>'

print(etree.HTML(html).xpath('string(//em)'))
零基础学 Python (全彩版)
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1837 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 16:58 · PVG 00:58 · LAX 09:58 · JFK 12:58
♥ Do have faith in what you're doing.