You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
2.6 KiB
79 lines
2.6 KiB
{
|
|
"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.mayi4k.com/",
|
|
// 手动设置分类,如果手动设置了分类则不使用上面的分类xpath获取分类 例如 "cateManual": {"电影": "1", "电视剧": "2"},
|
|
"cateManual": {
|
|
"蓝光原盘": "266",
|
|
"4K电影": "269",
|
|
"1080P": "284",
|
|
"剧集": "247"
|
|
},
|
|
// 分类页地址 {cateId} 分类id {catePg} 当前页
|
|
"cateUrl": "https://www.mayi4k.com/vodshow/{cateId}--------{catePg}---.html",
|
|
// 同上面的homeVod字段 分类列表中的视频信息
|
|
"cateVodNode": "//div[@class='module-item']",
|
|
"cateVodName": "/div[2]/a/text()",
|
|
"cateVodId": "/div[2]/a/@href",
|
|
"cateVodImg": "/div[1]/div/img/@data-src",
|
|
"cateVodMark": "/div[3]/text()",
|
|
// 详情页地址 用于获取详情页信息 及 播放列表和地址
|
|
"dtUrl": "https://www.mayi4k.com{vid}",
|
|
// 详情节点
|
|
"dtNode": "//body",
|
|
// 视频名
|
|
"dtName": "//h1/text()",
|
|
// 视频图片
|
|
"dtImg": "//div[@class='video-cover']/div/div/img/@src",
|
|
"dtImgR": "",
|
|
// 视频分类
|
|
"dtCate": "",
|
|
"dtCateR": "",
|
|
// 视频年份
|
|
"dtYear": "",
|
|
"dtYearR": "",
|
|
// 视频地区
|
|
"dtArea": "",
|
|
"dtAreaR": "",
|
|
// 视频状态
|
|
"dtMark": "",
|
|
"dtMarkR": "",
|
|
// 主演
|
|
"dtActor": "",
|
|
"dtActorR": "",
|
|
// 导演
|
|
"dtDirector": "",
|
|
"dtDirectorR": "",
|
|
// 视频简介
|
|
"dtDesc": "",
|
|
"dtDescR": "",
|
|
// 播放源节点
|
|
"dtFromNode": "//h2[contains(text(), '下载')][1]",
|
|
// 播放源名称
|
|
"dtFromName": "/text()",
|
|
// 二次处理正则
|
|
"dtFromNameR": "",
|
|
// 播放列表节点 ///../../following-sibling::div/ul
|
|
"dtUrlNode": "//body",
|
|
// 播放地址节点
|
|
"dtUrlSubNode": "//a[contains(@href, 'magnet') or contains(@href, 'aliyundrive.com')][1]",
|
|
// 播放地址
|
|
"dtUrlId": "/@href",
|
|
// 二次处理正则
|
|
"dtUrlIdR": "",
|
|
// 剧集名称
|
|
"dtUrlName": "@title",
|
|
// 二次处理正则
|
|
"dtUrlNameR": "",
|
|
// 播放页面的地址 {playUrl} 对应上面 dtUrlId 获取到的地址
|
|
"playUrl": "",
|
|
// 搜索地址
|
|
"searchUrl": "https://www.mayi4k.com/vodsearch/-------------.html?wd={wd}",
|
|
// 同上面的homeVod字段 搜索结果中的视频信息, 这里有对苹果cms suggest搜索接口的特殊支持,参考示例中的极品影视
|
|
"scVodNode": "//div[@class='module-search-item']",
|
|
"scVodName": "/div[2]/div/a/@title",
|
|
"scVodId": "/div[2]/div/a/@href",
|
|
"scVodIdR": "",
|
|
"scVodImg": "/div[1]/div/div/img/@data-src",
|
|
"scVodMark": "/div[2]/div/a/text()"
|
|
}
|