XPath :(HTML sign) (Fast reaction)
eg
xmlns=http://www.w3.org/1999/xhtml> <meta CharSet=utf-8> <meta Name=referrer Content=always > <meta http-equiv=x-ua-compatible content= "ie=edge,chrome=1" > <meta Name=viewport content= "width=device-width,initial-scale=1.0, Minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> <title>Expert analysis of Yunnan "Fire Meteor" air explosion incident: Can not be counted as "planets hit the Earth"</title> <link rel=stylesheet type=text/css href= "https:// Ss0.bdstatic.com/5av1bjqh_q23odcf/static/superlanding/css/landing_min_6b5661eb.css "> <body> <script> |
|
/* eslint-disable */ |
"/" from head to search Eg:/html/head/title:
Expert analysis of Yunnan "Fire Meteor" air explosion incident: Can not be counted as "planets hit the Earth"
Text ()
@ (HTML sign)
/Html/head/title/text ()
"//": All the HTML sign eg://li
eg:li[@class = ""]/a/@href
xmlns=http://www.w3.org/1999/xhtml> <meta CharSet=utf-8> <meta Name=referrer Content=always > <meta http-equiv=x-ua-compatible content= "ie=edge,chrome=1" > <meta Name=viewport content= "width=device-width,initial-scale=1.0, Minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> <title>Expert analysis of Yunnan "Fire Meteor" air explosion incident: Can not be counted as "planets hit the Earth"</title> <link rel=stylesheet type=text/css href= "https:// Ss0.bdstatic.com/5av1bjqh_q23odcf/static/superlanding/css/landing_min_6b5661eb.css "> <body> <script> |
|
/* eslint-disable */ |
VMware (Plus 8) Scrapy 2