N3RDN/JN/dr_py/js/爱上你听书网[听].js
2024-06-09 20:50:17 +08:00

28 lines
1.0 KiB
JavaScript

var rule = {
类型: '听书',
title: '爱上你听书网',
host: 'https://www.230ts.net',
url: '/sort/fyclass/fypage.html',
searchUrl: '/search.html?searchtype=name&searchword=**&page=fypage',
searchable: 2,
quickSearch: 0,
headers: {
'User-Agent': 'PC_UA'
},
timeout: 5000,
class_parse: '.nav-ol&&li:gt(0):lt(6);a&&Text;a&&href;.*/(\\w+).html',
play_parse: true,
lazy: 'js:input=input.replace("www","wap")',
limit: 6,
推荐: '#myTab_Content1&&li;.tab-book-title&&Text;*;.tab-book-author&&Text;*',
一级: 'ul.list-works&&li;.list-book-dt--span&&Text;.lazy&&data-original;.book-author:eq(2)&&a&&Text;a&&href',
二级: {
title: '.book-cover&&alt;.book-info&&dd--span:eq(1)&&Text',
img: '.book-cover&&src',
desc: '.book-info&&dd:eq(4)&&Text;;;.book-info&&dd--span:eq(3)&&Text;.book-info&&dd--span:eq(2)&&Text',
content: '.book-des&&Text',
tabs: '.playlist-top&&h2',
lists: '#playlist:eq(#id)&&li',
},
搜索: '*',
}