From 2e86b68a032446994c2d241e9b9b2e67b0fadd91 Mon Sep 17 00:00:00 2001 From: gaotianliuyun <58679624+gaotianliuyun@users.noreply.github.com> Date: Sun, 9 Oct 2022 21:03:25 +0800 Subject: [PATCH] Update drpy.js --- libs/drpy.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/drpy.js b/libs/drpy.js index 6edb2f17..e7cd4865 100644 --- a/libs/drpy.js +++ b/libs/drpy.js @@ -1,6 +1,6 @@ import './lib/util.js'; -import cheerio from './lib/cheerio.min.js'; -import './lib/crypto-js.js' +import cheerio from 'assets://js/lib/cheerio.min.js'; +import 'assets://js/lib/crypto-js.js' // import muban from 'https://gitcode.net/qq_32394351/dr_py/-/raw/master/js/模板.js'; // const key = 'drpy_zbk'; @@ -649,8 +649,8 @@ function homeParse(homeObj) { } classes.push({ - 'type_id': url, - 'type_name': name + 'type_id': url.trim(), + 'type_name': name.trim() }); } catch (e) { console.log(`分类列表定位第${idex}个元素正常报错:${e.message}`);