forked from dongg/tvbox
74 lines
3.4 KiB
JSON
74 lines
3.4 KiB
JSON
{
|
||
"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.56",
|
||
// 首页地址 用于获取 分类和首页推荐
|
||
"homeUrl": "http://wogg.link/",
|
||
// 手动设置分类,如果手动设置了分类则不使用上面的分类xpath获取分类 例如 "cateManual": {"电影": "1", "电视剧": "2"},
|
||
"cateManual": {"自营电影":"1","自营电视剧":"2","综艺":"4","动漫":"3","音乐":"5","自营短剧":"6"},
|
||
// 分类页地址 {cateId} 分类id {catePg} 当前页
|
||
"cateUrl": "http://wogg.link/index.php/vodshow/{cateId}--------{catePg}---.html",
|
||
// 同上面的homeVod字段 分类列表中的视频信息
|
||
"cateVodNode": "//div[@class='module-items']/div",
|
||
"cateVodName": "/div[@class='module-item-cover']/div[@class='module-item-pic']/a/@title",
|
||
"cateVodId": "/div[@class='module-item-cover']/div[@class='module-item-pic']/a/@href",
|
||
//"cateVodIdR": "/k/(\\w+)/",
|
||
"cateVodImg": "/div[@class='module-item-cover']/div[@class='module-item-pic']/img/@data-src",
|
||
"cateVodMark": "//div[@class='module-item-text']/text()",
|
||
//"cateVodMark": "/div[@class='module-item-cover']/div[@class='module-item-caption']/span/text()",
|
||
// 详情页地址 用于获取详情页信息 及 播放列表和地址
|
||
"dtUrl": "http://wogg.link/{vid}",
|
||
// 详情节点
|
||
"dtNode": "//div[@class='box view-heading']",
|
||
// 视频名
|
||
"dtName": "/div[2]/div/div/img/@alt",
|
||
// 视频图片
|
||
"dtImg": "/div[2]/div/div/img/@data-src",
|
||
// 视频分类
|
||
//"dtCate": "//span[contains(text(), '分类:')]/following-sibling::a/text()",
|
||
//"dtCateR": "",
|
||
// 视频年份
|
||
"dtYear": "/div[3]/div[2]/div[3]/div/a/text()",
|
||
//"dtYearR": "",
|
||
// 视频地区
|
||
//"dtArea": "//span[contains(text(), '地区:')]/following-sibling::a/text()",
|
||
//"dtAreaR": "",
|
||
// 视频状态
|
||
//"dtMark": "//span[contains(text(), '更新:')]/following-sibling::a/text()",
|
||
//"dtMarkR": "",
|
||
// 主演
|
||
"dtActor": "/div[3]/div[2]/div[2]/div/a/text()",
|
||
//"dtActorR": "",
|
||
// 导演
|
||
"dtDirector": "/div[3]/div[2]/div[1]/div/a/text()",
|
||
//"dtDirectorR": "",
|
||
// 视频简介
|
||
"dtDesc": "/div[3]/div[2]/div[5]/div/p[2]/text()",
|
||
//"dtDescR": "",
|
||
// 播放源节点
|
||
"dtFromNode": "//div[@class='module-tab-content']/div",
|
||
// 播放源名称
|
||
"dtFromName": "/span/text()",
|
||
// 二次处理正则
|
||
//"dtFromNameR": "",
|
||
// 播放列表节点 ///../../following-sibling::div/ul
|
||
"dtUrlNode": "//div[@class='scroll-box-y']/div",
|
||
// 播放地址节点
|
||
"dtUrlSubNode": "/div/a",
|
||
// 播放地址
|
||
"dtUrlId": "/@data-clipboard-text",
|
||
// 二次处理正则
|
||
//"dtUrlIdR": "",
|
||
// 剧集名称
|
||
"dtUrlName": "/div/h4/text()",
|
||
// 二次处理正则
|
||
//"dtUrlNameR": "",
|
||
// 播放页面的地址 {playUrl} 对应上面 dtUrlId 获取到的地址
|
||
"playUrl": "{playUrl}",
|
||
//搜索
|
||
"searchUrl": "http://wogg.link/index.php/vodsearch/-------------.html?wd={wd}",
|
||
"scVodNode": "//div[@class='module-items']/div",
|
||
"scVodName": "/div[@class='video-info']/div[@class='video-info-header']/a/@title",
|
||
"scVodId": "/div[@class='video-info']/div[@class='video-info-header']/a/@href",
|
||
//"scVodIdR": "/voddetail/(\\w+).html",
|
||
"scVodImg": "/div[@class='video-cover']/div/div/img/@data-src",
|
||
"scVodMark": "/div[@class='video-info']/div[@class='video-info-header']/a/text()"
|
||
} |