Created
August 21, 2018 12:05
-
-
Save dingyaguang117/2d88b1e805f53dd7aa4291f51488bc96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 获取后面的节点 | |
//div[@class="drop-features"]/following-sibling::p/text() | |
2. lxml 节点tostring | |
from lxml import etree | |
etree.tostring(Element) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment