找到函數:
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;}把上 主站蜘蛛池模板: 揭阳市| 鄂托克旗| 唐河县| 大理市| 南皮县| 清水县| 鄂托克旗| 阿图什市| 皋兰县| 凭祥市| 海门市| 营口市| 永清县| 尼木县| 云安县| 阜平县| 姚安县| 东光县| 辽源市| 岗巴县| 新巴尔虎左旗| 西乌珠穆沁旗| 松桃| 禹城市| 闻喜县| 榕江县| 凉城县| 许昌市| 深圳市| 南江县| 广汉市| 揭西县| 崇阳县| 南部县| 祁阳县| 霍山县| 舞钢市| 竹溪县| 辰溪县| 扎兰屯市| 科技|