From e15a6ff52fe00ce5836239f1c49610ef1c9f3e9b Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Tue, 13 Sep 2022 15:06:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E5=87=8C=E4=BA=91?= =?UTF-8?q?=E5=BD=B1=E8=A7=86=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/rules.db | Bin 40960 -> 40960 bytes controllers/cms.py | 2 ++ ...14\344\272\221\345\275\261\350\247\206.js" | 23 ++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 "js/\345\207\214\344\272\221\345\275\261\350\247\206.js" diff --git a/base/rules.db b/base/rules.db index da9ccfecd2d20b3d7b3cf571cb334cb63276035f..733389c6e0df33bc8e2c18cfd6f8b1fada199dbb 100644 GIT binary patch delta 199 zcmZoTz|?SnX@WH4<%u%RjF&eiEa7LCXM8Z3UBH%!@xjK%S&V$HN^A_O&bACs+k2ku znmD;%UQr@9zbrFVt)xt?EU_pvwWLxlIkBiDKR<7?y3k!-F?l`SPu76w^+AS*IHG{`5Tq@=(~U*FKuNYBvBLeE&w$jHRX)ZD;y^VWWE0RZ^nLE-=a delta 135 zcmZoTz|?SnX@WH4`H3>ljORBdEa7LCV^W{YE?~Q{@iF6Ob)mbwB6575O#J)!X7LN~ zJ?5|HYvKFPcVn}Zf*jw(3BsE_^^OEGPT0)Xki^euIJvN2Opiy_GQh_%GCow9nT0{t l8p00p$tWo)u+rC0&Mh|7%gfKsOw=nVN-ZwlytUt3004~WE2{ti diff --git a/controllers/cms.py b/controllers/cms.py index c1e5fd5..3cec614 100644 --- a/controllers/cms.py +++ b/controllers/cms.py @@ -526,6 +526,7 @@ class CMS: if self.double: items = pdfa(html, p[0]) # print(items) + # print(len(items)) for item in items: items2 = pdfa(item,p[1]) # print(items2) @@ -585,6 +586,7 @@ class CMS: return self.blank() result['list'] = videos + # print(videos) result['no_use'] = { 'code': 1, 'msg': '数据列表', diff --git "a/js/\345\207\214\344\272\221\345\275\261\350\247\206.js" "b/js/\345\207\214\344\272\221\345\275\261\350\247\206.js" new file mode 100644 index 0000000..8e626be --- /dev/null +++ "b/js/\345\207\214\344\272\221\345\275\261\350\247\206.js" @@ -0,0 +1,23 @@ +var rule={ + title:'凌云影视', + host:'https://www.lingyun.in', + // searchUrl:'/v_search/**----------fypage---.html', + url:'/channel/fyclass-fypage.html', + headers:{ + 'User-Agent':'MOBILE_UA' + }, + timeout:5000, + class_parse:'.over-auto li;a&&Text;a&&href;.*/(.*?).html', + cate_exclude:'解析', + limit:40, + play_parse:true, + lazy:'', + 推荐:'ul.pic-list.pic-list-nth;li;a&&title;img&&data-src;.s1&&Text;a&&href', + double:true, + 一级:'ul.pic-list.clearfix&&li;a&&title;img&&data-src;.s1&&Text;a&&href', + 二级:{"title":".content-rt&&h1&&Text;.content-rt&&p:eq(0)&&Text","img":".img&&img&&data-src","desc":".content-rt&&p:eq(2)&&Text;.content-rt&&p:eq(3)&&Text","content":".movie-introduce&&.sqjj_a&&Text","tabs":".py-tabs&&option","lists":"ul.player:eq(#id)&&li"}, + // 搜索:'.hl-list-item;a&&title;a&&data-original;.remarks&&Text;a&&href', + searchable:0,//是否启用全局搜索, + quickSearch:0,//是否启用快速搜索, + filterable:0,//是否启用分类筛选, +}; \ No newline at end of file -- GitLab