diff --git a/config.bin b/config.bin index a3b749e..2368380 100644 --- a/config.bin +++ b/config.bin @@ -254,6 +254,16 @@ "quickSearch": 1, "filterable": 1 }, + { + "key": "4K原盘", + "name": "📀┃思凯┃原盘", + "type": 3, + "api": "./js/drpy2.min.js", + "searchable": 1, + "quickSearch": 1, + "changeable": 1, + "ext": "./js/xuexizhinan.js" + }, { "key": "仓鼠app", "name": "🐹┃仓鼠┃影视", diff --git a/js/xuexizhinan.js b/js/xuexizhinan.js new file mode 100644 index 0000000..df1b79d --- /dev/null +++ b/js/xuexizhinan.js @@ -0,0 +1,32 @@ +var rule = { + title: 'xuexizhinan', + host: 'https://xuexizhinan.com', + url: '/books/fyclass', + searchUrl: '/?post_type=book&s=**', + searchable: 2, + quickSearch: 0, + headers: { + 'User-Agent': 'PC_UA', + }, + timeout: 8000, + class_name: '电影&剧集', + class_url: 'zuixin&zuixin-juji', + play_parse: true, + lazy: $js.toString(() => { + //推送阿里播放 支持影视壳 + let url = input.startsWith('push://') ? input : 'push://' + input; + input = {parse: 0, url: url}; + }), + 一级: '.card-book.list-item;.list-title&&Text;a.media-content&&data-bg&&url\\s*[\\(\\(](.*?)[\\)\\)]/$1/;;a.list-title&&href', + 二级: { + "title": ".rounded.shadow&&title", + "img": ".rounded.shadow&&src", + "desc": ";;;;", + "content": ".panel-body p&&Text", + "tabs": "js:TABS=['xuexizhinan']", + "lists": ".site-go a", + "list_text": "a:eq(0)&&Text", + "list_url": "a:eq(0)&&href" + }, + 搜索: '.card-book.list-item;.list-title&&Text;a.media-content&&data-bg&&url\\s*[\\(\\(](.*?)[\\)\\)]/$1/;;a.list-title&&href' +}; \ No newline at end of file