How to use regular expression in lxml xpath?

后端 未结 3 686
伪装坚强ぢ
伪装坚强ぢ 2020-11-30 00:47

I\'m using construction like this:

doc = parse(url).getroot()
links = doc.xpath(\"//a[text()=\'some text\']\")

But I need to select all lin

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