From d036f96512fc0dddecead78b799fb5db1ab79237 Mon Sep 17 00:00:00 2001 From: hjdhnx Date: Wed, 16 Nov 2022 09:53:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B0=E8=8A=B1=E4=BA=8C=E7=BA=A7=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=EF=BC=8C=E4=BC=98=E5=8C=96js0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/rules.db | Bin 155648 -> 155648 bytes js/version.txt | 2 +- ...60\350\212\261\345\275\261\351\231\242.js" | 2 +- utils/htmlParser.py | 3 ++- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/base/rules.db b/base/rules.db index db1c361689debf7b1627b790b77d1cd3e164bfb2..b1f1e7c2a0a1c0eb4af3b3fefb41afa2d3149ba5 100644 GIT binary patch delta 25 hcmZoTz}awsbAmME#ECM_j1wCZS`!$zCNM3C2LO652`>Nu delta 25 gcmZoTz}awsbAmKu|3n#Q#{R~H)&$0_2}}#(0eScdD*ylh diff --git a/js/version.txt b/js/version.txt index 8c1da59..8a8c005 100644 --- a/js/version.txt +++ b/js/version.txt @@ -1 +1 @@ -3.8.5 \ No newline at end of file +3.8.4 \ No newline at end of file diff --git "a/js/\345\205\260\350\212\261\345\275\261\351\231\242.js" "b/js/\345\205\260\350\212\261\345\275\261\351\231\242.js" index cb5b2a6..621374a 100644 --- "a/js/\345\205\260\350\212\261\345\275\261\351\231\242.js" +++ "b/js/\345\205\260\350\212\261\345\275\261\351\231\242.js" @@ -8,6 +8,6 @@ cate_exclude:'午夜影院|VIP蓝光影院|电视直播', 推荐:'.cbox_list;ul&&li;a&&title;.lazyload&&data-original;.pic_text.text_right&&Text;a&&href', double:true, // 推荐内容是否双层定位 一级:'.vodlist&&li;a&&title;.lazyload&&data-original;.pic_text.text_right&&Text;a&&href', -二级:{"title":".hd_tit&&Text;.content_min&&ul&&li&&Text","img":".lazyload&&data-original","desc":";;;.content_min&&ul&&li:eq(2) a&&Text;.content_min&&ul&&li:eq(3) a&&Text","content":".context&&span&&Text","tabs":".play_source_tab&&a","lists":".content_playlist:eq(#id) li"}, +二级:{"title":".hd_tit&&Text;.content_min&&ul&&li&&Text","img":".lazyload&&data-original","desc":";;;.content_min&&ul&&li:eq(2)&&Text;.content_min&&ul&&li:eq(3)&&Text","content":".context&&span&&Text","tabs":".play_source_tab&&a","lists":".content_playlist:eq(#id) li"}, 搜索:'.vodlist&&li;*;*;*;*', }); \ No newline at end of file diff --git a/utils/htmlParser.py b/utils/htmlParser.py index 4012e31..b1df739 100644 --- a/utils/htmlParser.py +++ b/utils/htmlParser.py @@ -102,10 +102,11 @@ class jsoup: nparse_index = int(nparse_index) except: nparse_index = 0 + # print(nparse_index) if not ret: ret = doc(nparse_rule).eq(nparse_index) else: - ret = ret(nparse_rule) + ret = ret(nparse_rule).eq(nparse_index) else: if not ret: ret = doc(nparse) -- GitLab