CatVodTVSpider/xpath/cjtys.json

53 lines
3.0 KiB
JSON

{
"ua": "",
"homeUrl": "https://cjt521.com",
"dcVipFlag": "true",
"dcPlayUrl": "true",
"cateNode": "//div[contains(@class,'ec-allnav')]//ul/li/a[contains(@href, 'vod/type')]",
"cateName": "/spam/text()",
"cateId": "/@href",
"cateIdR": "/index.php/vod/type/id/(\\d+).html",
"cateManual": {},
"homeVodNode": "//div[contains(@class,'top20')]//h2[contains(@class,'title-name')and(/span[contains(text(),'最新')])]/parent::*/parent::*/div[contains(@class,'vodlist') and not(contains(@style,'display:none'))]//a[contains(@class,'aplus-exp')]",
"homeVodName": "/@title",
"homeVodId": "/@href",
"homeVodIdR": "/index.php/vod/play/id/(\\w+)/sid/.+",
"homeVodImg": "/div[contains(@class, 'eclazy')]/@data-original",
"homeVodMark": "/span[contains(@class, 'pack-prb')]/text()",
"cateUrl": "https://cjt521.com/index.php/vod/show/id/{cateId}/page/{catePg}.html",
"cateVodNode": "//div[contains(@class, 'vodlist')]//a[contains(@class,'aplus-exp')]",
"cateVodName": "/@title",
"cateVodId": "/@href",
"cateVodIdR": "/index.php/vod/play/id/(\\w+)/sid/.+",
"cateVodImg": "/div[contains(@class, 'eclazy')]/@data-original",
"cateVodMark": "/span[contains(@class, 'pack-prb')]/text()",
"dtUrl": "https://cjt521.com/index.php/vod/detail/id/{vid}.html",
"dtNode": "//div[@class='vod-detail']",
"dtName": "//div[contains(@class,'s-top-right')]/div[contains(@class,'s-top-info-title')]/h1/text()",
"dtImg": "//a[contains(@class,'s-cover-img')]/img/@src",
"dtCate": "//div[contains(@class,'s-top-info-detail')]/p[contains(@class,'item') and contains(/span/text(),'类型')]/span/following-sibling::*/text()",
"dtArea": "//div[contains(@class,'s-top-info-detail')]/p[contains(@class,'item') and contains(/span/text(),'地区')]/span/following-sibling::*/text()",
"dtYear": "//div[contains(@class,'s-top-info-detail')]/p[contains(@class,'item') and contains(/span/text(),'年代')]/span/following-sibling::*/text()",
"dtActor": "//div[contains(@class,'s-top-info-detail')]/p[contains(@class,'item') and contains(/span/text(),'演员')]/span/following-sibling::*/text()",
"dtDirector": "//div[contains(@class,'s-top-info-detail')]/p[contains(@class,'item') and contains(/span/text(),'导演')]/span/following-sibling::*/text()",
"dtDesc": "//div[contains(@class,'s-top-info-detail')]/p[contains(@class,'item-desc')]/span/following-sibling::*/text()",
"dtFromNode": "//div[contains(@class, 'play_source')]/div[contains(@class,'play_source_tab')]/div/a",
"dtFromName": "/text()",
"dtFromNameR": "(.+)\\(",
"dtUrlNode": "//div[contains(@class, 'play_source')]//div[contains(@class, 'play_list_box')]//ul",
"dtUrlSubNode": "/li/a",
"dtUrlId": "@href",
"dtUrlIdR": "/index.php/vod/play/(\\S+).html",
"dtUrlName": "/text()",
"dtUrlNameR": "",
"playUrl": "https://cjt521.com/index.php/vod/play/{playUrl}.html",
"playUa": "",
"searchUrl": "https://cjt521.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
"scVodNode": "json:list",
"scVodName": "name",
"scVodId": "id",
"scVodIdR": "",
"scVodImg": "pic",
"scVodMark": ""
}