python_xpath

# 如果需要使用contains选择包括一些内容的同时,且不包含另外一部分内容,这样写:
//a[contains(@href,"node")][not(contains(@href,"/m/"))]
原文地址:https://www.cnblogs.com/hejianlong/p/10220146.html