diff --git a/base/rules.db b/base/rules.db index db1c361689debf7b1627b790b77d1cd3e164bfb2..b1f1e7c2a0a1c0eb4af3b3fefb41afa2d3149ba5 100644 Binary files a/base/rules.db and b/base/rules.db differ diff --git a/js/version.txt b/js/version.txt index 8c1da59dbb3a01e6f335d2e73d9b42affb230219..8a8c005df7b91a91d4cbc905ce0dfd31ff69afde 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 cb5b2a63acdcee64eed4bf669d8e85ef70259ced..621374a2ad6f060e077f5256768d18ffc9e6542b 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 4012e31be1bae880d3cc17d821309b7e5303c5ff..b1df7397a45d53634535671b2324916740a8cd35 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)