diff --git a/sub/xpath/agemys.json b/sub/xpath/agemys.json new file mode 100644 index 0000000..41a6d22 --- /dev/null +++ b/sub/xpath/agemys.json @@ -0,0 +1,49 @@ +{ + "ua": "", + "homeUrl": "https://www.agemys.com/update", + "cateManual": { + "全部": "", + "中国": "-中国-all-all", + "日本": "-日本-all-all", + "欧美": "-欧美-all-all" + }, + "homeVodNode": "//div[@class='blockcontent']//ul[@class='ul_li_a6']/li", + "homeVodName": "/h4[@class='anime_icon2_name']/a/text()", + "homeVodId": "/h4[@class='anime_icon2_name']/a/@href", + "homeVodIdR": "/detail/(\\w+)", + "homeVodImg": "//img/@src", + "homeVodMark": "//img/@title", + "cateUrl": "https://www.agemys.com/catalog/all-all-all-all-all-time-{catePg}{cateId}", + "cateVodNode": "//div[@class='blockcontent1']/div/a", + "cateVodName": "/img/@alt", + "cateVodId": "/@href", + "cateVodIdR": "/detail/(\\w+)", + "cateVodImg": "/img/@src", + "cateVodMark": "/span[@class='newname']/text()", + "dtUrl": "https://www.agemys.com/detail/{vid}", + "dtNode": "//div[@id='container']", + "dtName": "//div[@class='div_left']/div[@class='baseblock'][1]/div[@class='blockcontent']/img/@alt", + "dtImg": "//div[@class='div_left']/div[@class='baseblock'][1]/div[@class='blockcontent']/img/@src", + "dtCate": "//div[@class='div_left']/div[@class='baseblock'][2]//span[@class='detail_imform_tag' and contains(text(), '剧情类型')]/following-sibling::*/text()", + "dtYear": "//div[@class='div_left']/div[@class='baseblock'][2]//span[@class='detail_imform_tag' and contains(text(), '首播时间')]/following-sibling::*/text()", + "dtArea": "//div[@class='div_left']/div[@class='baseblock'][2]//span[@class='detail_imform_tag' and contains(text(), '地区')]/following-sibling::*/text()", + "dtMark": "", + "dtDirector": "//div[@class='div_left']/div[@class='baseblock'][2]//span[@class='detail_imform_tag' and contains(text(), '制作公司')]/following-sibling::*/text()", + "dtDesc": "//div[@class='div_right']/div[@class='baseblock'][2]//p/text()", + "dtFromNode": "//div[@id='playlist-div']/ul[@class='menu0']/li", + "dtFromName": "/text()", + "dtUrlNode": "//div[@id='playlist-div']/div[@class='main0']/div", + "dtUrlSubNode": "//li/a", + "dtUrlId": "@href", + "dtUrlIdR": "/play/(\\S+)", + "dtUrlName": "/text()", + "playUrl": "https://www.agemys.com/play/{playUrl}", + "playUa": "", + "searchUrl": "https://www.agemys.com/search?query={wd}&page=1", + "scVodNode": "//div[@class='blockcontent1']/div/a", + "scVodName": "/img/@alt", + "scVodId": "/@href", + "scVodIdR": "/detail/(\\w+)", + "scVodImg": "/img/@src", + "scVodMark": "/span[@class='newname']/text()" +} \ No newline at end of file