123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717 |
- {
- "author": "ajk",
- "ua": "",
- // 首页地址 用于获取 分类和首页推荐
- "homeUrl": "https://www.dianyingn.com",
- // 分类节点
- //"cateNode": "//ul[@class='clearfix']//a[contains(@href,'/vod/type/')]",
- // 分类名
- //"cateName": "/text()",
- // 分类id
- //"cateId": "/@href",
- // 分类id二次处理正则
- //"cateIdR": "",
- // 手动设置分类,如果手动设置了分类则不使用上面的分类xpath获取分类 例如 "cateManual": {"电影": "1", "电视剧": "2"},
- "cateManual": {
- "电影": "dianying",
- "电视剧": "dianshiju",
- "综艺": "zongyi",
- "动漫": "dongman"
- },
- // 首页模块 ================================================
- // 首页推荐视频的节点
- "homeVodNode": "//ul[contains(@class,'fed-list-info fed-part-rows')]/li",
- // 首页推荐视频的名称
- "homeVodName": "/a[contains(@class,'fed-list-title')]/text()",
- // 二次处理正则
- "homeVodNameR": "",
- // 首页推荐视频的id
- "homeVodId": "/a[contains(@class,'fed-list-pics')]/@href",
- // 二次处理正则
- "homeVodIdR": "",
- // 首页推荐视频的图片
- "homeVodImg": "/a[contains(@class,'fed-list-pics')]/@data-original",
- // 二次处理正则
- "homeVodImgR": "",
- // 首页推荐视频的简介
- "homeVodMark": "//span[contains(@class,'fed-list-remarks')]/text()",
- // 二次处理正则
- "homeVodMarkR": "",
- // 分类模块 ================================================
- // 分类页地址 {cateId} 分类id {catePg} 当前页
- //https://www.dianyingn.com/vodshow/{cateId}--------{catePg}---.html
- "cateUrl": "https://www.dianyingn.com/vodshow/{cateId}-{area}-{by}------{catePg}---{year}.html",
- // 同上面的homeVod字段 分类列表中的视频信息
- "cateVodNode": "//ul[contains(@class,'fed-list-info fed-part-rows')]/li",
- "cateVodName": "/a[contains(@class,'fed-list-title')]/text()",
- "cateVodId": "/a[contains(@class,'fed-list-pics')]/@href",
- "cateVodIdR": "/voddetail/(\\S+).html",
- "cateVodImg": "/a[contains(@class,'fed-list-pics')]/@data-original",
- "cateVodMark": "//span[contains(@class,'fed-list-remarks')]/text()",
- // 详情模块 ================================================
- // 详情页地址 用于获取详情页信息 及 播放列表和地址
- "dtUrl": "https://www.dianyingn.com/voddetail/{vid}.html",
- // 详情节点
- "dtNode": "//body",
- // 视频名
- "dtName": "//dd[contains(@class,'fed-deta-content')]/h1/a/text()",
- "dtNameR": "",
- // 视频图片
- "dtImg": "//dt[contains(@class,'fed-deta-images')]/a/@data-original",
- "dtImgR": "",
- // 视频分类
- "dtCate": "concat(//span[contains(text(),'分类')]/following-sibling::*//text())",
- "dtCateR": "",
- "dtArea": "concat(//span[contains(text(),'地区')]/following-sibling::*//text())",
- "dtAreaR": "",
- // 视频状态
- "dtMark": "concat(//span[contains(text(),'更新')]/following-sibling::*//text())",
- "dtMarkR": "",
- // 主演
- "dtActor": "concat(//span[contains(text(),'主演')]/following-sibling::*//text())",
- "dtActorR": "",
- "dtDirector": "concat(//span[contains(text(),'导演')]/following-sibling::*//text())",
- "dtDirectorR": "",
- // 视频年份
- "dtYear": "concat(//span[contains(text(),'年份')]/following-sibling::*//text())",
- // 视频简介
- "dtDesc": "//p[contains(@class,'fed-part-both')]/text()",
- "dtDescR": "",
- // 播放模块 =====================================================
- // 播放源节点
- "dtFromNode": "//ul[contains(@class,'fed-part-rows')]/li[contains(@class,'fed-drop-btns')]/a",
- // 播放源名称 多个重名播放源
- // "dtFromName": "concat('播放来源',count(parent::*/preceding::*//div[contains(@class,'tabs')]/ul[@class='t-ul']) + 1)",
- "dtFromName":"/text()",
- // 二次处理正则
- "dtFromNameR": "",
- // 播放列表节点
- "dtUrlNode": "//div[contains(@class,'fed-play-item')]/ul[@class='fed-part-rows']",
- // 播放地址节点
- "dtUrlSubNode": "/li/a",
- // 播放地址
- "dtUrlId": "/@href",
- // 二次处理正则
- "dtUrlIdR": "/vodplay/(\\S+).html",
- // 剧集名称
- "dtUrlName": "/text()",
- // 二次处理正则
- "dtUrlNameR": "",
- // 播放页面的地址 {playUrl} 对应上面 dtUrlId 获取到的地址
- "playUrl": "https://www.dianyingn.com/vodplay/{playUrl}.html",
- // 解析webview的user-agent
- "playUa": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36",
- // 搜索模块 ================================================
- // 搜索地址
- "searchUrl": "https://www.dianyingn.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
- "scVodNode": "json:list",
- "scVodName": "name",
- "scVodId": "id",
- "scVodIdR": "",
- "scVodImg": "pic",
- "scVodMark": "",
- "filter": {
- "dianying": [
- {
- "key": "cateId",
- "name": "类型",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "动作片",
- "v": "dongzuopian"
- },
- {
- "n": "喜劇片",
- "v": "xijupian"
- },
- {
- "n": "愛情片",
- "v": "aiqingpian"
- },
- {
- "n": "科幻片",
- "v": "kehuanpian"
- },
- {
- "n": "恐怖片",
- "v": "kongbupian"
- },
- {
- "n": "劇情片",
- "v": "juqingpian"
- },
- {
- "n": "戰爭片",
- "v": "zhanzhengpian"
- },
- {
- "n": "动画片",
- "v": "donghua"
- }
- ]
- },
- {
- "key": "area",
- "name": "地区",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "中国大陆",
- "v": "中国大陆"
- },
- {
- "n": "中国香港",
- "v": "中国香港"
- },
- {
- "n": "中国台湾",
- "v": "中国台湾"
- },
- {
- "n": "美国",
- "v": "美国"
- },
- {
- "n": "韩国",
- "v": "韩国"
- },
- {
- "n": "日本",
- "v": "日本"
- },
- {
- "n": "泰国",
- "v": "泰国"
- },
- {
- "n": "新加坡",
- "v": "新加坡"
- },
- {
- "n": "马来西亚",
- "v": "马来西亚"
- },
- {
- "n": "印度",
- "v": "印度"
- },
- {
- "n": "英国",
- "v": "英国"
- },
- {
- "n": "法国",
- "v": "法国"
- },
- {
- "n": "德国",
- "v": "德国"
- },
- {
- "n": "加拿大",
- "v": "加拿大"
- },
- {
- "n": "西班牙",
- "v": "西班牙"
- },
- {
- "n": "俄罗斯",
- "v": "俄罗斯"
- },
- {
- "n": "其它",
- "v": "其它"
- }
- ]
- },
- {
- "key": "year",
- "name": "年份",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "2022",
- "v": "2022"
- },
- {
- "n": "2021",
- "v": "2021"
- },
- {
- "n": "2020",
- "v": "2020"
- },
- {
- "n": "2019",
- "v": "2019"
- },
- {
- "n": "2018",
- "v": "2018"
- },
- {
- "n": "2017",
- "v": "2017"
- },
- {
- "n": "2016",
- "v": "2016"
- },
- {
- "n": "2015",
- "v": "2015"
- },
- {
- "n": "2014",
- "v": "2014"
- },
- {
- "n": "2013",
- "v": "2013"
- },
- {
- "n": "2012",
- "v": "2012"
- },
- {
- "n": "2011",
- "v": "2011"
- },
- {
- "n": "2010",
- "v": "2010"
- }
- ]
- },
- {
- "key": "by",
- "name": "排序",
- "value": [
- {
- "n": "时间",
- "v": ""
- },
- {
- "n": "人气",
- "v": "hits"
- },
- {
- "n": "评分",
- "v": "score"
- }
- ]
- }
- ],
- "dianshiju": [
- {
- "key": "cateId",
- "name": "类型",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "大陸劇",
- "v": "guochanju"
- },
- {
- "n": "港台劇",
- "v": "gangtaiju"
- },
- {
- "n": "日韓劇",
- "v": "rihanju"
- },
- {
- "n": "欧美劇",
- "v": "oumeiju"
- },
- {
- "n": "其他劇",
- "v": "qitaju"
- }
- ]
- },
- {
- "key": "year",
- "name": "年份",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "2022",
- "v": "2022"
- },
- {
- "n": "2021",
- "v": "2021"
- },
- {
- "n": "2020",
- "v": "2020"
- },
- {
- "n": "2019",
- "v": "2019"
- },
- {
- "n": "2018",
- "v": "2018"
- },
- {
- "n": "2017",
- "v": "2017"
- },
- {
- "n": "2016",
- "v": "2016"
- },
- {
- "n": "2015",
- "v": "2015"
- },
- {
- "n": "2014",
- "v": "2014"
- },
- {
- "n": "2013",
- "v": "2013"
- },
- {
- "n": "2012",
- "v": "2012"
- },
- {
- "n": "2011",
- "v": "2011"
- },
- {
- "n": "2010",
- "v": "2010"
- },
- {
- "n": "2009",
- "v": "2009"
- },
- {
- "n": "2008",
- "v": "2008"
- },
- {
- "n": "2007",
- "v": "2007"
- },
- {
- "n": "2006",
- "v": "2006"
- },
- {
- "n": "2005",
- "v": "2005"
- },
- {
- "n": "2004",
- "v": "2004"
- }
- ]
- },
- {
- "key": "by",
- "name": "排序",
- "value": [
- {
- "n": "时间",
- "v": ""
- },
- {
- "n": "人气",
- "v": "hits"
- },
- {
- "n": "评分",
- "v": "score"
- }
- ]
- }
- ],
- "zongyi": [
- {
- "key": "area",
- "name": "地区",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "中国大陆",
- "v": "中国大陆"
- },
- {
- "n": "日本",
- "v": "日本"
- },
- {
- "n": "欧美",
- "v": "欧美"
- },
- {
- "n": "其他",
- "v": "其他"
- }
- ]
- },
- {
- "key": "year",
- "name": "年份",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "2022",
- "v": "2022"
- },
- {
- "n": "2021",
- "v": "2021"
- },
- {
- "n": "2020",
- "v": "2020"
- },
- {
- "n": "2019",
- "v": "2019"
- },
- {
- "n": "2018",
- "v": "2018"
- },
- {
- "n": "2017",
- "v": "2017"
- },
- {
- "n": "2016",
- "v": "2016"
- },
- {
- "n": "2015",
- "v": "2015"
- },
- {
- "n": "2014",
- "v": "2014"
- },
- {
- "n": "2013",
- "v": "2013"
- },
- {
- "n": "2012",
- "v": "2012"
- },
- {
- "n": "2011",
- "v": "2011"
- },
- {
- "n": "2010",
- "v": "2010"
- },
- {
- "n": "2009",
- "v": "2009"
- },
- {
- "n": "2008",
- "v": "2008"
- },
- {
- "n": "2007",
- "v": "2007"
- },
- {
- "n": "2006",
- "v": "2006"
- },
- {
- "n": "2005",
- "v": "2005"
- },
- {
- "n": "2004",
- "v": "2004"
- }
- ]
- },
- {
- "key": "by",
- "name": "排序",
- "value": [
- {
- "n": "时间",
- "v": ""
- },
- {
- "n": "人气",
- "v": "hits"
- },
- {
- "n": "评分",
- "v": "score"
- }
- ]
- }
- ],
- "dongman": [
- {
- "key": "area",
- "name": "地区",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "中国大陆",
- "v": "中国大陆"
- },
- {
- "n": "日本",
- "v": "日本"
- },
- {
- "n": "欧美",
- "v": "欧美"
- },
- {
- "n": "其他",
- "v": "其他"
- }
- ]
- },
- {
- "key": "year",
- "name": "年份",
- "value": [
- {
- "n": "全部",
- "v": ""
- },
- {
- "n": "2022",
- "v": "2022"
- },
- {
- "n": "2021",
- "v": "2021"
- },
- {
- "n": "2020",
- "v": "2020"
- },
- {
- "n": "2019",
- "v": "2019"
- },
- {
- "n": "2018",
- "v": "2018"
- },
- {
- "n": "2017",
- "v": "2017"
- },
- {
- "n": "2016",
- "v": "2016"
- },
- {
- "n": "2015",
- "v": "2015"
- },
- {
- "n": "2014",
- "v": "2014"
- },
- {
- "n": "2013",
- "v": "2013"
- },
- {
- "n": "2012",
- "v": "2012"
- },
- {
- "n": "2011",
- "v": "2011"
- },
- {
- "n": "2010",
- "v": "2010"
- },
- {
- "n": "2009",
- "v": "2009"
- },
- {
- "n": "2008",
- "v": "2008"
- },
- {
- "n": "2007",
- "v": "2007"
- },
- {
- "n": "2006",
- "v": "2006"
- },
- {
- "n": "2005",
- "v": "2005"
- },
- {
- "n": "2004",
- "v": "2004"
- }
- ]
- },
- {
- "key": "by",
- "name": "排序",
- "value": [
- {
- "n": "时间",
- "v": ""
- },
- {
- "n": "人气",
- "v": "hits"
- },
- {
- "n": "评分",
- "v": "score"
- }
- ]
- }
- ]
- }
- }
|