From fe3b6de9097beb27bb537d0eef73ef7b83d143a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E4=BA=BA=E5=93=A5=E5=93=A5?= <107459091+alantang1977@users.noreply.github.com> Date: Thu, 27 Apr 2023 13:38:51 +0800 Subject: [PATCH] Add files via upload --- json/电影港.json | 131 +++++++++++++++++++++++++++++++++++++++++++++ json/花猫影视.json | 59 ++++++++++++++++++++ json/音范丝.json | 67 +++++++++++++++++++++++ 3 files changed, 257 insertions(+) create mode 100644 json/电影港.json create mode 100644 json/花猫影视.json create mode 100644 json/音范丝.json diff --git a/json/电影港.json b/json/电影港.json new file mode 100644 index 0000000..c49be55 --- /dev/null +++ b/json/电影港.json @@ -0,0 +1,131 @@ +//写法思路来海阔视界,xpath筛选。本人是海阔用户,所以搬了海阔的jsoup写法过来。2022年9月17日 +//jsoup规则写法请查阅海阔视界或者海阔影视相关教程。不支持js写法 +//本文档为完整模板,请不要去无中生有添加多余的键值参数。 +{ + //规则名 + "title": "电影港", + //作者 + "author": "香雅情", + //请求头UA,键名$键值,每一组用#分开,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA + //多个请求头参数写法示例,"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok",每一组用#分开。 + //习惯查看手机源码写建议用手机版UA,习惯查看PC版源码写建议用电脑版UA + "Headers":"PC_UA", + //网页编码格式默认UTF-8编码,UTF-8,GBK,GB2312 + "Coding_format":"gb2312", + //图片是否需要代理 + "PicNeedProxy":"0", + //是否开启获取首页数据,0关闭,1开启 + "homeContent":"0", + //分类链接起始页码,禁止负数和含小数点。 + "firstpage": "1", + //分类链接,{cateId}是分类,{catePg}是页码,第一页没有页码的可以这样写 第二页链接[firstPage=第一页的链接] + "class_url": "https://www.dygang.tv/{cateId}/index_{catePg}.htm[firstPage=https://www.dygang.cc/{cateId}/index.htm]", + //分类名,分类1&分类2&分类3 + "class_name": "最新电影&经典高清&国配电影&经典港片&国剧&日韩剧&美剧&综艺&动漫&纪录片&高清原盘&4K高清区&3D电影&电影专题", + //分类名替换词,替换词1&替换词2&替换词3,替换词包含英文&的用两个中文&&代替,示例:&&id=0&&&id=1 + "class_value": "ys&bd&gy&gp&dsj&dsj1&yx&zy&dmq&jilupian&1080p&4K&3d&dyzt", + //筛选数据,json格式,参考xpath的筛选写法 + "filterdata":{}, + + //分类页面截取数据模式,0为json,其它数字为普通网页。 + "cat_mode": "1", + //分类列表数组定位,最多支持3层,能力有限,不是所有页面都能支持 + "cat_arr_rule": "body&&table[width=388]", + //分类片单信息jsoup与xb截取写法切换,只作用于html网页,1为jsoup写法(默认),0为xb写法 + "cat_is_jsoup":"1", + //分类片单标题 + "cat_title": "img&&alt", + //分类片单链接 + "cat_url": "a&&href", + //分类片单图片,支持自定义图片链接 + "cat_pic": "img&&src", + //分类片单副标题 + "cat_subtitle":"[align=center]&&Text", + //分类片单链接补前缀 + "cat_prefix": "https://www.dygang.tv", + //分类片单链接补后缀 + "cat_suffix": "", + + //搜索请求头参数,不填则默认okhttp/3.12.11,可填MOBILE_UA或PC_UA使用内置的手机版或电脑版UA + //多个请求头参数写法示例,键名$键值,每一组用#分开。"User-Agent$PC_UA#Referer$http://ww.baidu.com#Cookie$ser=ok"。 + "SHeaders":"User-Agent$PC_UA#Content-Type$charset=gb2312", + //搜索链接,搜索关键字用{wd}表示,post请求的最后面加;post + //POST链接示例 http://www.lezhutv.com/index.php?m=vod-search;post + "search_url": "https://www.dygang.tv/e/search/index123.php;post", + //POST搜索body,填写搜索关键字的键值,一般常见的是searchword和wd,不是POST搜索的可留空或删除。 + "sea_PtBody":"keyboard={wd}&submit=搜+索&show=title,smalltext&tempid=1&tbname=article", + + //搜索截取模式,0为json搜索,只支持列表在list数组里的,其它数字为网页截取。 + "search_mode": "1", + //搜索列表数组定位,不填默认内置list,最多支持3层,能力有限,不是所有页面都能支持。 + "sea_arr_rule": "body&&table[width=388]", + //搜索片单信息jsoup与xb截取写法切换,只作用于html网页,1为jsoup写法(默认),0为xb写法 + "sea_is_jsoup":"1", + //搜索片单图片,支持自定义图片链接 + "sea_pic": "img&&src", + //搜索片单标题 + "sea_title": "img&&alt", + //搜索片单链接 + "sea_url": "a&&href", + //搜索片单副标题 + "sea_subtitle":"", + //搜索片单链接补前缀 + "search_prefix": "https://www.dygang.tv", + //搜索片单链接补后缀,这个一般json搜索的需要 + "search_suffix": "", + + //片单链接是否直接播放,0否,1分类片单链接直接播放,2详情选集链接直接播放。 + //设置成直接播放后,后面3个参数请注意该留空的请务必留空。 + "force_play": "0", + //直接播放链接补前缀 + "play_prefix": "", + //直接播放链接补后缀,设置为#isVideo=true#可强制识别为视频链接 + "play_suffix": "", + //直接播放链接设置请求头,只对直链视频有效,每一组用#分开 + "play_header": "", + + //项目信息jsoup与xb截取写法切换,1为jsoup写法(默认),0为xb写法 + "proj_is_jsoup":"0", + //类型数据,截取前缀&&截取后缀 + "proj_cate": "", + //年代数据,截取前缀&&截取后缀 + "proj_year": "", + //地区数据,截取前缀&&截取后缀 + "proj_area": "", + //演员数据,截取前缀&&截取后缀 + "proj_actor": "演  员&&var player_aaaa={"flag":"play","encrypt这种源码的链接解析 + //如果网页源码里没有这种请设置为0 + "Anal_MacPlayer":"0", + //是否开启手动嗅探,只对网页嗅探有效,0否,1是 + "ManualSniffer":"0", + //手动嗅探视频链接关键字,每个用#隔开 + "VideoFormat":".mp4#.m3u8#.flv", + //手动嗅探视频链接过滤关键词,每个用#隔开 + "VideoFilter":".html#=http" +} \ No newline at end of file diff --git a/json/花猫影视.json b/json/花猫影视.json new file mode 100644 index 0000000..e8aa6f1 --- /dev/null +++ b/json/花猫影视.json @@ -0,0 +1,59 @@ +{ + "name": "花猫TV", + "url": "http://www.huamaotv.com", + "User": "空", + "shouye": "1", + "fenlei": "电影$/type/1-#连续剧$/type/2-#综艺$/type/3-#动漫$/type/4-#", + "houzhui": ".html", + "shifouercijiequ": "0", + "jiequqian": "空", + "jiequhou": "空", + "jiequshuzuqian": "class=\"stui-vodlist__item", + "jiequshuzuhou": "", + "tupianqian": "data-original=\"", + "tupianhou": "\"", + "biaotiqian": "title=\"", + "biaotihou": "\"", + "lianjieqian": "href=\"", + "lianjiehou": "\"", + "sousuoqian": "/index.php/ajax/suggest?mid=1&wd=", + "sousuohou": "&limit=500", + "sousuohouzhui": "/detail/", + "ssmoshi": "0", + "sousuoshifouercijiequ": "0", + "jspic": "pic", + "jsname": "name", + "jsid": "id", + "ssjiequqian": "空", + "ssjiequhou": "空", + "ssjiequshuzuqian": "空", + "ssjiequshuzuhou": "空", + "sstupianqian": "空", + "sstupianhou": "空", + "ssbiaotiqian": "空", + "ssbiaotihou": "空", + "sslianjieqian": "空", + "sslianjiehou": "空", + "bfshifouercijiequ": "0", + "bfjiequqian": "空", + "bfjiequhou": "空", + "bfjiequshuzuqian": "class=\"stui-content__playlist clearfix\"", + "bfjiequshuzuhou": "", + "zhuangtaiqian": "class=\"data\"", + "zhuangtaihou": "

", + "daoyanqian": "导演:", + "daoyanhou": "

", + "zhuyanqian": "主演:", + "zhuyanhou": "

", + "juqingqian": "", + "juqinghou": "", + "bfyshifouercijiequ": "0", + "bfyjiequqian": "空", + "bfyjiequhou": "空", + "bfyjiequshuzuqian": "
  • ", + "bfyjiequshuzuhou": "
  • ", + "bfbiaotiqian": "\">", + "bfbiaotihou": "", + "bflianjieqian": "href=\"", + "bflianjiehou": "\"" +} diff --git a/json/音范丝.json b/json/音范丝.json new file mode 100644 index 0000000..2350c15 --- /dev/null +++ b/json/音范丝.json @@ -0,0 +1,67 @@ +{ + "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1", + "homeUrl": "https://www.yinfans.me", + "dcPlayUrl": "true", + "cateNode": "//a[contains(@href,'/s/')]", + "cateName": "concat(//span[contains(@class,'nav-link-title')]/text(),//a[contains(@class,'dropdown-item')]/text())", + "cateId": "/@href", + "cateIdR": "/s/(\\w+)", + "cateManual": { + "首页推荐": "page", + "蓝光原盘电影": "topic/bluray-movie/movie/page", + "蓝光原盘纪录片": "topic/bluray-movie/documentry/page", + "4K": "topic/4k/page" + }, + + "homeVodNode": "//div[contains(@class,'mainleft')]/ul/li/div[contains(@class,'thumbnail')]", + "homeVodName": "/a/@title", + "homeVodId": "/a/@href", + "homeVodIdR": "https://www.yinfans.me/movie/(\\S+)", + "homeVodImg": "/a/img/@src", + "homeVodImgR": "\\S+(http\\S+)", + "homeVodMark": "../div[contains(@class,'info')]/span[2]/a/text()", + + "cateUrl": "https://www.yinfans.me/{cateId}/{catePg}", + "cateVodNode": "//div[contains(@class,'mainleft')]/ul/li/div[contains(@class,'thumbnail')]", + "cateVodName": "/a/@title", + "cateVodId": "/a/@href", + "cateVodIdR": "https://www.yinfans.me/movie/(\\S+)", + "cateVodImg": "/a/img/@src", + "cateVodImgR": "\\S+(http\\S+)", + "cateVodMark": "../div[contains(@class,'info')]/span[2]/a/text()", + + "dtUrl": "https://www.yinfans.me/movie/{vid}", + "dtNode": "//div[@class='mainleft']", + "dtName": "/div[1]/h1/text()", + "dtNameR": "", + "dtImg": "/div[1]//div[@class='context']/div[1]/p[1]/a/@href", + "dtImgR": "", + "dtCate": "/div[1]//div[@class='context']/div[1]/p[2]/text()[5]", + "dtArea": "/div[1]//div[@class='context']/div[1]/p[2]/text()[4]", + "dtAreaR": "", + "dtYear": "/div[1]//div[@class='context']/div[1]/p[2]/text()[7]", + "dtYearR": "", + "dtActor": "/div[1]//div[@class='context']/div[1]/p[2]/text()[14]", + "dtDirector": "/div[1]//div[@class='context']/div[1]/p[2]/text()[13]", + "dtDesc": "/div[1]//div[@class='context']/div[1]/p[4]/text()", + + "dtFromNode": "//div[@class='tab-pane active']", + "dtFromName": "//div[@class='btn-group']/label[1]/text()", + + "dtUrlNode": "//table[@id='cili']/tbody", + "dtUrlSubNode": "/tr[1]/td/a", + "dtUrlId": "@href", + "dtUrlIdR": "", + "dtUrlName": "concat(//span/span[1]/text(),'--', //span[@class='label label-warning']/text())", + "playUrl": "", + + + "playUa": "", + "searchUrl": "", + "scVodNode": "json:list", + "scVodName": "name", + "scVodId": "id", + "scVodIdR": "", + "scVodImg": "pic", + "scVodMark": "" +} \ No newline at end of file