diff --git a/XPath.md b/XPath.md index f9e4f4b..a0f18af 100644 --- a/XPath.md +++ b/XPath.md @@ -94,6 +94,26 @@ "quickSearch": 1, "filterable": 0, "ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/duboku.json" +}, +{ + "key": "csp_xpath_saohuotv", + "name": "骚火电影(XPath)", + "type": 3, + "api": "csp_XPath", + "searchable": 1, + "quickSearch": 1, + "filterable": 0, + "ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/saohuotv.json" +}, +{ + "key": "csp_xpath_dm84", + "name": "动漫巴士(XPath)", + "type": 3, + "api": "csp_XPath", + "searchable": 1, + "quickSearch": 1, + "filterable": 0, + "ext": "https://cdn.jsdelivr.net/gh/lite-cucumber/CatVodTVSpider@master/xpath/dm84.json" } ``` diff --git a/xpath/dm84.json b/xpath/dm84.json new file mode 100644 index 0000000..01b459a --- /dev/null +++ b/xpath/dm84.json @@ -0,0 +1,41 @@ +{ + "ua": "", + "homeUrl": "https://dm84.tv", + "cateNode": "//ul[contains(@class,'nav_row')]/li/a[contains(@href, '.html')]", + "cateName": "/text()", + "cateId": "/@href", + "cateIdR": "/list-(\\d+).html", + "cateManual": {}, + "homeVodNode": "//ul[@class='v_list']/li/div[@class='item']", + "homeVodName": "/a[@class='title']/@title", + "homeVodId": "/a[@class='title']/@href", + "homeVodIdR": "/v/(\\w+).html", + "homeVodImg": "/a/@data-bg", + "homeVodMark": "/span[@class='desc']/text()", + "cateUrl": "https://dm84.tv/list-{cateId}-{catePg}.html", + "cateVodNode": "//ul[@class='v_list']/li/div[@class='item']", + "cateVodName": "/a[@class='title']/@title", + "cateVodId": "/a[@class='title']/@href", + "cateVodIdR": "/v/(\\w+).html", + "cateVodImg": "/a/@data-bg", + "cateVodMark": "/span[@class='desc']/text()", + "dtUrl": "https://dm84.tv/v/{vid}.html", + "dtNode": "//div[contains(@class,'v_content')]", + "dtName": "/parent::*/h1[@class='v_title']/a/text()", + "dtImg": "/div[@class='cover']/img/@src", + "dtFromNode": "//ul[contains(@class,'play_from')]/li", + "dtFromName": "/text()", + "dtUrlNode": "//ul[contains(@class,'play_list')]", + "dtUrlSubNode": "/li/a", + "dtUrlId": "@href", + "dtUrlIdR": "/p/(\\S+).html", + "dtUrlName": "/text()", + "playUrl": "https://dm84.tv/p/{playUrl}.html", + "searchUrl": "https://dm84.tv/s----------.html?wd={wd}", + "scVodNode": "//ul[@class='v_list']/li/div[@class='item']", + "scVodName": "/a[@class='title']/@title", + "scVodId": "/a[@class='title']/@href", + "scVodIdR": "/v/(\\w+).html", + "scVodImg": "/a/@data-bg", + "scVodMark": "/span[@class='desc']/text()" +} \ No newline at end of file diff --git a/xpath/saohuotv.json b/xpath/saohuotv.json new file mode 100644 index 0000000..8821018 --- /dev/null +++ b/xpath/saohuotv.json @@ -0,0 +1,44 @@ +{ + "ua": "", + "homeUrl": "https://saohuotv.com", + "cateNode": "//ul[contains(@class,'type_list')]/li/a[contains(@href, '.html')]", + "cateName": "/text()", + "cateId": "/@href", + "cateIdR": "/list/(\\d+).html", + "cateManual": {}, + "homeVodNode": "//ul[@class='v_list']/li/div[@class='v_img']", + "homeVodName": "/a/@title", + "homeVodId": "/a/@href", + "homeVodIdR": "/movie/(\\w+).html", + "homeVodImg": "/a/img/@data-original", + "homeVodMark": "/div[@class='v_note']/text()", + "cateUrl": "https://saohuotv.com/list/{cateId}-{catePg}.html", + "cateVodNode": "//ul[@class='v_list']/li/div[@class='v_img']", + "cateVodName": "/a/@title", + "cateVodId": "/a/@href", + "cateVodIdR": "/movie/(\\w+).html", + "cateVodImg": "/a/img/@data-original", + "cateVodMark": "/div[@class='v_note']/text()", + "dtUrl": "http://saohuotv.com/movie/{vid}.html", + "dtNode": "//body", + "dtName": "//section[contains(@class,'v_info_box')]/h1[1]/text()", + "dtImg": "//section[contains(@class,'v_info')]/div[@class='m_background']/@style", + "dtImgR": "background-image:url\\((\\S+)\\)", + "dtCate": "//section[contains(@class,'v_info_box')]/p[1]/text()", + "dtDesc": "//p[contains(@class,'show_part')]/text()", + "dtFromNode": "//ul[@class='from_list']/li", + "dtFromName": "/text()", + "dtUrlNode": "//ul[@class='large_list']/li", + "dtUrlSubNode": "/a", + "dtUrlId": "@href", + "dtUrlIdR": "/play/(\\S+).html", + "dtUrlName": "/text()", + "playUrl": "http://saohuotv.com/play/{playUrl}.html", + "searchUrl": "https://saohuotv.com/search.php?searchword={wd}", + "scVodNode": "//ul[@class='v_list']/li/div[@class='v_img']", + "scVodName": "/a/@title", + "scVodId": "/a/@href", + "scVodIdR": "/movie/(\\w+).html", + "scVodImg": "/a/img/@data-original", + "scVodMark": "/div[@class='v_note']/text()" +} \ No newline at end of file