找到函數:
function getElementText(config, node) {var text = "";if (!node) return "";if (!config.supportsTextContent) config.supportsTextContent = node.textContent || false;if (config.textExtraction == "simple") {if (config.supportsTextContent) {text = node.textContent;} else {if (node.childNodes[0] && node.childNodes[0].hasChildNodes()) {text = node.childNodes[0].innerHTML;} else {text = node.innerHTML;}}} else {if (typeof(config.textExtraction) == "function") {text = config.textExtraction(node);} else {text = $(node).text();}}return text;}把上 主站蜘蛛池模板: 塔河县| 会同县| 西林县| 临西县| 丹寨县| 伽师县| 柘荣县| 杂多县| 东乌珠穆沁旗| 汉源县| 巫山县| 唐山市| 桂平市| 盐源县| 明水县| 桦南县| 沙河市| 铜梁县| 井冈山市| 绥中县| 乐业县| 甘谷县| 虹口区| 怀安县| 南投县| 丰城市| 师宗县| 环江| 盘锦市| 兴国县| 蕲春县| 茂名市| 台江县| 甘孜| 台江县| 溧阳市| 益阳市| 乳源| 安徽省| 东至县| 华坪县|