{ //规则名 "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\">&&&&", //简介内容,截取前缀&&截取后缀 "proj_plot": "简介:&&", //线路截取区域,如果不需要请把tab_title或tab_arr_pre置空或者全部不要填。 //线路是否二次截取 "tab_YN_twice": "1", "tab_twice_pre": "class=\"fed-part-rows\"", "tab_twice_suf": "", //线路截取数组前 "tab_arr_pre": "class=\"fed-btns-info fed-rims-info fed-part-eone\"", "tab_arr_suf": "", //线路标题,截取前缀&&截取后缀 "tab_title": "\">&&", //列表是否二次截取 "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": "", //集数是否二次截取 "epi_YN_twice": "0", "epi_twice_pre": "空", "epi_twice_suf": "空", "epi_arr_pre": "", //集数标题,截取前缀&&截取后缀 "epi_title": "\">&&var player_aaaa={"flag":"play","encrypt这种源码的链接解析 //如果网页源码里没有这种请设置为0 "Anal_MacPlayer":"0", //是否开启手动嗅探,只对网页嗅探有效,0否,1是 "ManualSniffer":"1", //手动嗅探视频链接关键字,每个用#隔开 "VideoFormat":".mp4#.m3u8#.flv" }