
找到函数:
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]
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...