|
|
@ -305,9 +305,9 @@ function getYiData(jkdata) { |
|
|
|
分类.push(String(xpath(it, `//ty/text()`)).trim() + '$' + String(xpath(it, `//ty/@id`)).trim()); |
|
|
|
分类.push(String(xpath(it, `//ty/text()`)).trim() + '$' + String(xpath(it, `//ty/@id`)).trim()); |
|
|
|
}) |
|
|
|
}) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
log(gethtml); |
|
|
|
|
|
|
|
let typehtml = dealJson(gethtml); |
|
|
|
let typehtml = dealJson(gethtml); |
|
|
|
let typelist = typehtml["class"] || []; |
|
|
|
let typelist = typehtml["class"] || []; |
|
|
|
|
|
|
|
log(typelist); |
|
|
|
|
|
|
|
|
|
|
|
if (jkdata.categories) { |
|
|
|
if (jkdata.categories) { |
|
|
|
for (var i = 0; i < typelist.length; i++) { |
|
|
|
for (var i = 0; i < typelist.length; i++) { |
|
|
|