N3RD/JN/EXT/XYQ/dadatu.json

119 lines
5.2 KiB
JSON
Raw Normal View History

2023-07-12 21:50:31 +08:00
{
//规则名
"title": "达达兔",
//作者
"author": "香雅情",
//请求头UA,不填则默认okhttp/3.12.11可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA
"UserAgent":"Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0",
//请求头Referer参数如果只是播放页需要填WebView即可引用播放页的链接作嗅探Referer参数。
"Referer":"",
//是否开启获取首页数据0关闭1开启
"homeContent":"1",
//分类链接起始页码,禁止负数和含小数点。
"firstpage": "1",
//分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接]
"class_url": "https://www.osx2.com/s/{cateId}{catelog}-{area}-{year}/by/{by}/page/{catePg}.html",
//"class_url": "http://www.blssv.com/index.php/vod/show/id/{cateId}/page/{catePg}.html",
//分类名分类1&分类2&分类3
"class_name": "喜剧片&动作片",
//分类名替换词替换词1&替换词2&替换词3替换词包含英文&的用两个中文代替示例id=0&id=1
"class_value": "xijupian&dongzuopian",
//筛选数据json格式参考xpath的筛选写法
"filterdata": {
},
//分类是否二次截取
"cat_YN_twice": "0",
"cat_twice_pre": "",
"cat_twice_suf": "",
//分类数组截取前
"cat_arr_pre": "class=\"fed-list-pics fed-lazy fed-part-2by3\"",
//分类数组截取后
"cat_arr_suf": "class=\"fed-list-desc fed-font-xii fed-visible fed-part-eone fed-text-muted fed-hide-xs fed-show-sm-block\"",
//分类截取片单图片,截取前缀&&截取后缀
"cat_pic": "data-original=\"&&\"",
//分类截取片单标题,截取前缀&&截取后缀
"cat_title": "title=\"&&\"",
//分类截取片单副标题,截取前缀&&截取后缀
"cat_subtitle": "class=\"fed-list-score fed-font-xii fed-back-green\">&&</span",
//分类截取片单链接,截取前缀&&截取后缀
"cat_url": "href=\"&&\"",
//分类片单链接补前缀
"cat_prefix": "https://www.osx2.com",
//分类片单链接补后缀
"cat_suffix": "",
//搜索链接,搜索关键字用{wd}表示post请求的最后面加;post
//POST链接示例 http://www.lezhutv.com/index.php?m=vod-search;post
"search_url": "https://www.osx2.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
//搜索模式,0为json搜索只支持列表在list数组里的其它为网页截取。
"search_mode": "0",
"jsonpic": "pic",
"jsonname": "name",
"jsonid": "id",
//json片单副标题这个很少有预留着
"jsonstitle":"",
//搜索是否二次截取
"sea_YN_twice": "",
"sea_twice_pre": "",
"sea_twice_suf": "",
"sea_arr_pre": "",
"sea_arr_suf": "",
"sea_pic": "",
"sea_title": "",
"sea_url": "",
//搜索数组前缀
"search_prefix": "https://www.osx2.com/sou",
"search_suffix": ".html",
"sea_subtitle": "",
//片单链接是否直接播放1是直接播放0否。
"force_play": "0",
//直接播放链接补前缀
"play_prefix": "空",
//直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接
"play_suffix": "空",
//直接播放链接设置请求头,只对直链视频有效,每一组用#分开
"play_header": "空",
//演员数据,截取前缀&&截取后缀
"proj_actor": "主演:</span>&&</li>",
//简介内容,截取前缀&&截取后缀
"proj_plot": "简介:</span>&&</li>",
//线路截取区域如果不需要请把tab_title或tab_arr_pre置空或者全部不要填。
//线路是否二次截取
"tab_YN_twice": "1",
"tab_twice_pre": "class=\"fed-part-rows\"",
"tab_twice_suf": "</ul>",
//线路截取数组前
"tab_arr_pre": "class=\"fed-btns-info fed-rims-info fed-part-eone\"",
"tab_arr_suf": "</li>",
//线路标题,截取前缀&&截取后缀
"tab_title": "\">&&</a>",
//列表是否二次截取
"list_YN_twice": "0",
"list_twice_pre": "class=\"fed-drop-boxs fed-drop-btms fed-matp-v\"",
"list_twice_suf": "class=\"fed-goto-info\"",
//列表数组截取前,必须
"list_arr_pre": "class=\"fed-part-rows\"",
"list_arr_suf": "</ul>",
//集数是否二次截取
"epi_YN_twice": "0",
"epi_twice_pre": "空",
"epi_twice_suf": "空",
"epi_arr_pre": "<a",
"epi_arr_suf": "/a>",
//集数标题,截取前缀&&截取后缀
"epi_title": "\">&&</a",
//集数链接,截取前缀&&截取后缀
"epi_url": "href=\"&&\"",
//集数链接补前缀
"epiurl_prefix": "https://www.osx2.com",
"epiurl_suffix": "",
//分析网页源码中有<script type="text/javascript">var player_aaaa={"flag":"play","encrypt这种源码的链接解析
//如果网页源码里没有这种请设置为0
"Anal_MacPlayer":"0",
//是否开启手动嗅探只对网页嗅探有效0否1是
"ManualSniffer":"1",
//手动嗅探视频链接关键字,每个用#隔开
"VideoFormat":".mp4#.m3u8#.flv"
}