diff --git a/js/duanjutv.js b/js/duanjutv.js new file mode 100644 index 0000000..e05a5a1 --- /dev/null +++ b/js/duanjutv.js @@ -0,0 +1,49 @@ +var rule = { + + title: '短剧TV', + host: 'https://www.duanjutv.icu', + url: '/vodshow/fyclassfyfilter.html', + filterable:1,//是否启用分类筛选, +filter_url:'-{{fl.area}}-{{fl.by or "time"}}-{{fl.class}}-{{fl.lang}}-{{fl.letter}}---fypage---{{fl.year}}', +filter: { +"duanjuTV":[ +{"key":"year","name":"年份","value":[{"n":"全部","v":""},{"n":"2024","v":"2024"},{"n":"2023","v":"2023"},{"n":"2022","v":"2022"},{"n":"2021","v":"2021"},{"n":"2020","v":"2020"},{"n":"2019","v":"2019"},{"n":"2018","v":"2018"},{"n":"2017","v":"2017"},{"n":"2016","v":"2016"},{"n":"2015","v":"2015"},{"n":"2014","v":"2014"},{"n":"2013","v":"2013"},{"n":"2012","v":"2012"},{"n":"2011","v":"2011"},{"n":"2010","v":"2010"}]}, + {"key":"by","name":"排序","value":[{"n":"时间","v":"time"},{"n":"人气","v":"hits"},{"n":"评分","v":"score"}]}] +}, +class_name:'关注公众号:东方精英汇,获取最新4K接口。以下为东辰影视短剧',//静态分类名称拼接 + class_url:'duanjuTV',//静态分类标识拼 + + play_parse: true, + limit: 6, + 推荐: '.module-list;.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href', + double: true, // 推荐内容是否双层定位 + 一级: '.module-items .module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href', + 二级: { + "title": "h1&&Text;.tag-link&&Text", + "img": ".module-item-pic&&img&&data-src", + "desc": ".video-info-items:eq(0)&&Text;.video-info-items:eq(1)&&Text;.video-info-items:eq(2)&&Text;.video-info-items:eq(3)&&Text", + "content": ".vod_content&&Text", + "tabs": ".module-tab-content&&.module-tab-item", + "lists": ".module-player-list:eq(#id)&&.scroll-content&&a" + }, + lazy: `js: + var html = JSON.parse(request(input).match(/r player_.*?=(.*?)