box/app/XPath/hw_nbyy.json
2022-05-10 15:06:43 +08:00

64 lines
3.0 KiB
JSON

{
"ua": "",
"homeUrl": "https://www.nbyy.tv",
"cateManual": {
"电影" : "1",
"电视剧": "2"
},
// Home Summary ================================================
"homeVodNode": "//ul[contains(@class,'qy-mod-ul')]/li/div/a",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/detail.html?showIdCode=(\\w+)",
"homeVodImg": "/@data-original",
"homeVodImgR": "\\S+(http\\S+)",
"homeVodMark": "//span[contains(@class,'pic-text')]/text()",
// Category Summary ================================================
"cateUrl": "https://www.nbyy.tv/filter.html?x=1&channelId={catePg}{cateId}",
"cateVodNode": "//ul[(@class='qy-mod-ul')]/li[(@class='qy-mod-li')]/div[(@class='qy-list-img vertical')]",
"cateVodName": "/div[(@class='title-wrap')]/p/a/@title",
"cateVodId": "/div[(@class='qy-mod-link-wrap')]/a/@href",
"cateVodIdR": "detail.html?showIdCode=(\\w+)",
"cateVodImg": "/div/picture/@src",
"cateVodMark": "/span[contains(@class,'qy-mod-label')]/text()",
// Category Details ================================================
"dtUrl": "https://www.nbyy.tv/{vid}",
"dtNode": "//body",
"dtName": "//div[contains(@class,'myui-content__thumb')]/a/@title",
"dtNameR": "",
"dtImg": "//div[contains(@class,'myui-content__thumb')]/a/img/@data-original",
"dtImgR": "",
"dtCate": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '分类')]/following-sibling::a/text()",
"dtYear": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '年份')]/following-sibling::a/text()",
"dtArea": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '地区')]/following-sibling::a/text()",
"dtMark": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '更新')]/following-sibling::a/text()",
"dtDirector": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '导演')]/following-sibling::a/text()",
"dtActor": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '主演')]/following-sibling::a/text()",
"dtDesc": "//div[contains(@class,'myui-content__detail')]/p/span[contains(text(), '简介')]/following-sibling::a/text()",
// Playlist ======================================================
"dtFromNode": "//ul[contains(@class,'nav-tabs')]/li/a",
"dtFromName": "/text()",
"dtFromNameR": "",
"dtUrlNode": "//ul[contains(@class,'myui-content__list')]",
"dtUrlSubNode": "/li/a",
"dtUrlId": "/@href",
"dtUrlIdR": "/vodplay/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://my.duboku.vip/vodplay/{playUrl}.html",
"playUa": "",
// Search Results ================================================
"searchUrl": "https://my.duboku.vip/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": ""
}