0
XPath
式の何が問題なのかを調べようとしています。 lxml.etree.XPathEvalError: Invalid expression
を返します。XPathでORを使用すると "InvalidExpression"が返されます
root.xpath('//h3/[@id="text1544"]/span[@class="price1" or @class="price2"]/text()')[0]
私はアドバイスをいただきありがとうございます。