update SrcJyXunmi.js.

pull/1/head
src48597962 3 years ago committed by Gitee
parent 3f8cc03aae
commit 89fc7f2631
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 8
      SrcJyXunmi.js

@ -390,6 +390,12 @@ function xunmierji(type,ua) {
} catch (e) {
var html = "";
}
} else if (/xpath/.test(type)) {
try{
var html = request(MY_URL.split('##')[1], { headers: { 'User-Agent': ua } });
} catch (e) {
var html = "";
}
} else {
//后续网页类
}
@ -443,8 +449,6 @@ function xunmierji(type,ua) {
var conts = arts;
}else if (/xpath/.test(type)) {
eval("var xpfile = " + fetchCache(MY_PARAMS.api,48))
log(xpfile.dtActor)
log(xpath(html, JSON.stringify(xpfile.dtActor)))
var actor = xpath(html, xpfile.dtActor) || "内详";
var director = xpath(html, xpfile.dtDirector) || "内详";
var area = xpath(html, xpfile.dtArea) || "未知";

Loading…
Cancel
Save