N3RD/JN/EXT/MAG/mp4ba.json
2023-07-27 22:57:37 +08:00

75 lines
2.8 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.42",
// 首页地址 用于获取 分类和首页推荐
"homeUrl": "https://www.mp4ba.vip/",
// 手动设置分类如果手动设置了分类则不使用上面的分类xpath获取分类 例如 "cateManual": {"电影": "1", "电视剧": "2"},
"cateManual": {"国产电影":"domestic-films","港台电影":"hong-kong-and-taiwan-movies","日韩电影":"japan-and-south-korea-movie","欧美电影":"american-movies","海外电影":"overseas-movies","动画电影":"animated-movie"},
// 分类页地址 {cateId} 分类id {catePg} 当前页
"cateUrl": "https://www.mp4ba.vip/category/{cateId}/page/{catePg}",
// 同上面的homeVod字段 分类列表中的视频信息
"cateVodNode": "//ul[@id = 'post_container']/li",
"cateVodName": "/div/a/@title",
"cateVodId": "/div/a/@href",
"cateVodImg": "/div/a/img/@src",
"cateVodImgR": "",
"cateVodMark": "",
// 详情页地址 用于获取详情页信息 及 播放列表和地址
"dtUrl": "{vid}",
// 详情节点
"dtNode": "//body",
// 视频名
"dtName": "//div[@id='post_content' or @class='bg1 border post']/p[1]/img/@alt",
// 视频图片
"dtImg": "//div[@id='post_content' or @class='bg1 border post']/p[1]/img/@src",
"dtImgR": "",
// 视频分类
"dtCate": "",
"dtCateR": "",
// 视频年份
"dtYear": "",
"dtYearR": "",
// 视频地区
"dtArea": "",
"dtAreaR": "",
// 视频状态
"dtMark": "",
"dtMarkR": "",
// 主演
"dtActor": "",
"dtActorR": "",
// 导演
"dtDirector": "",
"dtDirectorR": "",
// 视频简介
"dtDesc": "",
"dtDescR": "",
// 播放源节点
"dtFromNode": "//div[@class='hacklogdownload_down_link']",
// 播放源名称
"dtFromName": "/strong/a/text()",
// 二次处理正则
"dtFromNameR": "",
// 播放列表节点 ///../../following-sibling::div/ul
"dtUrlNode": "//body",
// 播放地址节点
"dtUrlSubNode": "//div[@class='hacklogdownload_right']/a[last()]",
// 播放地址
"dtUrlId": "/@href",
// 二次处理正则
"dtUrlIdR": "",
// 剧集名称
"dtUrlName": "/@title",
// 二次处理正则
"dtUrlNameR": "",
// 播放页面的地址 {playUrl} 对应上面 dtUrlId 获取到的地址
"playUrl": "",
// 搜索地址
"searchUrl": "https://www.mp4ba.vip/?s={wd}",
// 同上面的homeVod字段 搜索结果中的视频信息, 这里有对苹果cms suggest搜索接口的特殊支持参考示例中的极品影视
"scVodNode": "//ul[@id = 'post_container']/li",
"scVodName": "/div/a/@title",
"scVodId": "/div/a/@href",
"scVodIdR": "",
"scVodImg": "/div/a/img/@src",
"scVodMark": ""
}