dyn.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717
  1. {
  2. "author": "ajk",
  3. "ua": "",
  4. // 首页地址 用于获取 分类和首页推荐
  5. "homeUrl": "https://www.dianyingn.com",
  6. // 分类节点
  7. //"cateNode": "//ul[@class='clearfix']//a[contains(@href,'/vod/type/')]",
  8. // 分类名
  9. //"cateName": "/text()",
  10. // 分类id
  11. //"cateId": "/@href",
  12. // 分类id二次处理正则
  13. //"cateIdR": "",
  14. // 手动设置分类,如果手动设置了分类则不使用上面的分类xpath获取分类 例如 "cateManual": {"电影": "1", "电视剧": "2"},
  15. "cateManual": {
  16. "电影": "dianying",
  17. "电视剧": "dianshiju",
  18. "综艺": "zongyi",
  19. "动漫": "dongman"
  20. },
  21. // 首页模块 ================================================
  22. // 首页推荐视频的节点
  23. "homeVodNode": "//ul[contains(@class,'fed-list-info fed-part-rows')]/li",
  24. // 首页推荐视频的名称
  25. "homeVodName": "/a[contains(@class,'fed-list-title')]/text()",
  26. // 二次处理正则
  27. "homeVodNameR": "",
  28. // 首页推荐视频的id
  29. "homeVodId": "/a[contains(@class,'fed-list-pics')]/@href",
  30. // 二次处理正则
  31. "homeVodIdR": "/voddetail/(\\S+).html",
  32. // 首页推荐视频的图片
  33. "homeVodImg": "/a[contains(@class,'fed-list-pics')]/@data-original",
  34. // 二次处理正则
  35. "homeVodImgR": "",
  36. // 首页推荐视频的简介
  37. "homeVodMark": "//span[contains(@class,'fed-list-remarks')]/text()",
  38. // 二次处理正则
  39. "homeVodMarkR": "",
  40. // 分类模块 ================================================
  41. // 分类页地址 {cateId} 分类id {catePg} 当前页
  42. //https://www.dianyingn.com/vodshow/{cateId}--------{catePg}---.html
  43. "cateUrl": "https://www.dianyingn.com/vodshow/{cateId}-{area}-{by}------{catePg}---{year}.html",
  44. // 同上面的homeVod字段 分类列表中的视频信息
  45. "cateVodNode": "//ul[contains(@class,'fed-list-info fed-part-rows')]/li",
  46. "cateVodName": "/a[contains(@class,'fed-list-title')]/text()",
  47. "cateVodId": "/a[contains(@class,'fed-list-pics')]/@href",
  48. "cateVodIdR": "/voddetail/(\\S+).html",
  49. "cateVodImg": "/a[contains(@class,'fed-list-pics')]/@data-original",
  50. "cateVodMark": "//span[contains(@class,'fed-list-remarks')]/text()",
  51. // 详情模块 ================================================
  52. // 详情页地址 用于获取详情页信息 及 播放列表和地址
  53. "dtUrl": "https://www.dianyingn.com/voddetail/{vid}.html",
  54. // 详情节点
  55. "dtNode": "//body",
  56. // 视频名
  57. "dtName": "//dd[contains(@class,'fed-deta-content')]/h1/a/text()",
  58. "dtNameR": "",
  59. // 视频图片
  60. "dtImg": "//dt[contains(@class,'fed-deta-images')]/a/@data-original",
  61. "dtImgR": "",
  62. // 视频分类
  63. "dtCate": "concat(//span[contains(text(),'分类')]/following-sibling::*//text())",
  64. "dtCateR": "",
  65. "dtArea": "concat(//span[contains(text(),'地区')]/following-sibling::*//text())",
  66. "dtAreaR": "",
  67. // 视频状态
  68. "dtMark": "concat(//span[contains(text(),'更新')]/following-sibling::*//text())",
  69. "dtMarkR": "",
  70. // 主演
  71. "dtActor": "concat(//span[contains(text(),'主演')]/following-sibling::*//text())",
  72. "dtActorR": "",
  73. "dtDirector": "concat(//span[contains(text(),'导演')]/following-sibling::*//text())",
  74. "dtDirectorR": "",
  75. // 视频年份
  76. "dtYear": "concat(//span[contains(text(),'年份')]/following-sibling::*//text())",
  77. // 视频简介
  78. "dtDesc": "//p[contains(@class,'fed-part-both')]/text()",
  79. "dtDescR": "",
  80. // 播放模块 =====================================================
  81. // 播放源节点
  82. "dtFromNode": "//ul[contains(@class,'fed-part-rows')]/li[contains(@class,'fed-drop-btns')]/a",
  83. // 播放源名称 多个重名播放源
  84. // "dtFromName": "concat('播放来源',count(parent::*/preceding::*//div[contains(@class,'tabs')]/ul[@class='t-ul']) + 1)",
  85. "dtFromName":"/text()",
  86. // 二次处理正则
  87. "dtFromNameR": "",
  88. // 播放列表节点
  89. "dtUrlNode": "//div[contains(@class,'fed-play-item')]/ul[@class='fed-part-rows']",
  90. // 播放地址节点
  91. "dtUrlSubNode": "/li/a",
  92. // 播放地址
  93. "dtUrlId": "/@href",
  94. // 二次处理正则
  95. "dtUrlIdR": "/vodplay/(\\S+).html",
  96. // 剧集名称
  97. "dtUrlName": "/text()",
  98. // 二次处理正则
  99. "dtUrlNameR": "",
  100. // 播放页面的地址 {playUrl} 对应上面 dtUrlId 获取到的地址
  101. "playUrl": "https://www.dianyingn.com/vodplay/{playUrl}.html",
  102. // 解析webview的user-agent
  103. "playUa": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36",
  104. // 搜索模块 ================================================
  105. // 搜索地址
  106. "searchUrl": "https://www.dianyingn.com/index.php/ajax/suggest?mid=1&wd={wd}&limit=10",
  107. "scVodNode": "json:list",
  108. "scVodName": "name",
  109. "scVodId": "id",
  110. "scVodIdR": "",
  111. "scVodImg": "pic",
  112. "scVodMark": "",
  113. "filter": {
  114. "dianying": [
  115. {
  116. "key": "cateId",
  117. "name": "类型",
  118. "value": [
  119. {
  120. "n": "全部",
  121. "v": ""
  122. },
  123. {
  124. "n": "动作片",
  125. "v": "dongzuopian"
  126. },
  127. {
  128. "n": "喜劇片",
  129. "v": "xijupian"
  130. },
  131. {
  132. "n": "愛情片",
  133. "v": "aiqingpian"
  134. },
  135. {
  136. "n": "科幻片",
  137. "v": "kehuanpian"
  138. },
  139. {
  140. "n": "恐怖片",
  141. "v": "kongbupian"
  142. },
  143. {
  144. "n": "劇情片",
  145. "v": "juqingpian"
  146. },
  147. {
  148. "n": "戰爭片",
  149. "v": "zhanzhengpian"
  150. },
  151. {
  152. "n": "动画片",
  153. "v": "donghua"
  154. }
  155. ]
  156. },
  157. {
  158. "key": "area",
  159. "name": "地区",
  160. "value": [
  161. {
  162. "n": "全部",
  163. "v": ""
  164. },
  165. {
  166. "n": "中国大陆",
  167. "v": "中国大陆"
  168. },
  169. {
  170. "n": "中国香港",
  171. "v": "中国香港"
  172. },
  173. {
  174. "n": "中国台湾",
  175. "v": "中国台湾"
  176. },
  177. {
  178. "n": "美国",
  179. "v": "美国"
  180. },
  181. {
  182. "n": "韩国",
  183. "v": "韩国"
  184. },
  185. {
  186. "n": "日本",
  187. "v": "日本"
  188. },
  189. {
  190. "n": "泰国",
  191. "v": "泰国"
  192. },
  193. {
  194. "n": "新加坡",
  195. "v": "新加坡"
  196. },
  197. {
  198. "n": "马来西亚",
  199. "v": "马来西亚"
  200. },
  201. {
  202. "n": "印度",
  203. "v": "印度"
  204. },
  205. {
  206. "n": "英国",
  207. "v": "英国"
  208. },
  209. {
  210. "n": "法国",
  211. "v": "法国"
  212. },
  213. {
  214. "n": "德国",
  215. "v": "德国"
  216. },
  217. {
  218. "n": "加拿大",
  219. "v": "加拿大"
  220. },
  221. {
  222. "n": "西班牙",
  223. "v": "西班牙"
  224. },
  225. {
  226. "n": "俄罗斯",
  227. "v": "俄罗斯"
  228. },
  229. {
  230. "n": "其它",
  231. "v": "其它"
  232. }
  233. ]
  234. },
  235. {
  236. "key": "year",
  237. "name": "年份",
  238. "value": [
  239. {
  240. "n": "全部",
  241. "v": ""
  242. },
  243. {
  244. "n": "2022",
  245. "v": "2022"
  246. },
  247. {
  248. "n": "2021",
  249. "v": "2021"
  250. },
  251. {
  252. "n": "2020",
  253. "v": "2020"
  254. },
  255. {
  256. "n": "2019",
  257. "v": "2019"
  258. },
  259. {
  260. "n": "2018",
  261. "v": "2018"
  262. },
  263. {
  264. "n": "2017",
  265. "v": "2017"
  266. },
  267. {
  268. "n": "2016",
  269. "v": "2016"
  270. },
  271. {
  272. "n": "2015",
  273. "v": "2015"
  274. },
  275. {
  276. "n": "2014",
  277. "v": "2014"
  278. },
  279. {
  280. "n": "2013",
  281. "v": "2013"
  282. },
  283. {
  284. "n": "2012",
  285. "v": "2012"
  286. },
  287. {
  288. "n": "2011",
  289. "v": "2011"
  290. },
  291. {
  292. "n": "2010",
  293. "v": "2010"
  294. }
  295. ]
  296. },
  297. {
  298. "key": "by",
  299. "name": "排序",
  300. "value": [
  301. {
  302. "n": "时间",
  303. "v": ""
  304. },
  305. {
  306. "n": "人气",
  307. "v": "hits"
  308. },
  309. {
  310. "n": "评分",
  311. "v": "score"
  312. }
  313. ]
  314. }
  315. ],
  316. "dianshiju": [
  317. {
  318. "key": "cateId",
  319. "name": "类型",
  320. "value": [
  321. {
  322. "n": "全部",
  323. "v": ""
  324. },
  325. {
  326. "n": "大陸劇",
  327. "v": "guochanju"
  328. },
  329. {
  330. "n": "港台劇",
  331. "v": "gangtaiju"
  332. },
  333. {
  334. "n": "日韓劇",
  335. "v": "rihanju"
  336. },
  337. {
  338. "n": "欧美劇",
  339. "v": "oumeiju"
  340. },
  341. {
  342. "n": "其他劇",
  343. "v": "qitaju"
  344. }
  345. ]
  346. },
  347. {
  348. "key": "year",
  349. "name": "年份",
  350. "value": [
  351. {
  352. "n": "全部",
  353. "v": ""
  354. },
  355. {
  356. "n": "2022",
  357. "v": "2022"
  358. },
  359. {
  360. "n": "2021",
  361. "v": "2021"
  362. },
  363. {
  364. "n": "2020",
  365. "v": "2020"
  366. },
  367. {
  368. "n": "2019",
  369. "v": "2019"
  370. },
  371. {
  372. "n": "2018",
  373. "v": "2018"
  374. },
  375. {
  376. "n": "2017",
  377. "v": "2017"
  378. },
  379. {
  380. "n": "2016",
  381. "v": "2016"
  382. },
  383. {
  384. "n": "2015",
  385. "v": "2015"
  386. },
  387. {
  388. "n": "2014",
  389. "v": "2014"
  390. },
  391. {
  392. "n": "2013",
  393. "v": "2013"
  394. },
  395. {
  396. "n": "2012",
  397. "v": "2012"
  398. },
  399. {
  400. "n": "2011",
  401. "v": "2011"
  402. },
  403. {
  404. "n": "2010",
  405. "v": "2010"
  406. },
  407. {
  408. "n": "2009",
  409. "v": "2009"
  410. },
  411. {
  412. "n": "2008",
  413. "v": "2008"
  414. },
  415. {
  416. "n": "2007",
  417. "v": "2007"
  418. },
  419. {
  420. "n": "2006",
  421. "v": "2006"
  422. },
  423. {
  424. "n": "2005",
  425. "v": "2005"
  426. },
  427. {
  428. "n": "2004",
  429. "v": "2004"
  430. }
  431. ]
  432. },
  433. {
  434. "key": "by",
  435. "name": "排序",
  436. "value": [
  437. {
  438. "n": "时间",
  439. "v": ""
  440. },
  441. {
  442. "n": "人气",
  443. "v": "hits"
  444. },
  445. {
  446. "n": "评分",
  447. "v": "score"
  448. }
  449. ]
  450. }
  451. ],
  452. "zongyi": [
  453. {
  454. "key": "area",
  455. "name": "地区",
  456. "value": [
  457. {
  458. "n": "全部",
  459. "v": ""
  460. },
  461. {
  462. "n": "中国大陆",
  463. "v": "中国大陆"
  464. },
  465. {
  466. "n": "日本",
  467. "v": "日本"
  468. },
  469. {
  470. "n": "欧美",
  471. "v": "欧美"
  472. },
  473. {
  474. "n": "其他",
  475. "v": "其他"
  476. }
  477. ]
  478. },
  479. {
  480. "key": "year",
  481. "name": "年份",
  482. "value": [
  483. {
  484. "n": "全部",
  485. "v": ""
  486. },
  487. {
  488. "n": "2022",
  489. "v": "2022"
  490. },
  491. {
  492. "n": "2021",
  493. "v": "2021"
  494. },
  495. {
  496. "n": "2020",
  497. "v": "2020"
  498. },
  499. {
  500. "n": "2019",
  501. "v": "2019"
  502. },
  503. {
  504. "n": "2018",
  505. "v": "2018"
  506. },
  507. {
  508. "n": "2017",
  509. "v": "2017"
  510. },
  511. {
  512. "n": "2016",
  513. "v": "2016"
  514. },
  515. {
  516. "n": "2015",
  517. "v": "2015"
  518. },
  519. {
  520. "n": "2014",
  521. "v": "2014"
  522. },
  523. {
  524. "n": "2013",
  525. "v": "2013"
  526. },
  527. {
  528. "n": "2012",
  529. "v": "2012"
  530. },
  531. {
  532. "n": "2011",
  533. "v": "2011"
  534. },
  535. {
  536. "n": "2010",
  537. "v": "2010"
  538. },
  539. {
  540. "n": "2009",
  541. "v": "2009"
  542. },
  543. {
  544. "n": "2008",
  545. "v": "2008"
  546. },
  547. {
  548. "n": "2007",
  549. "v": "2007"
  550. },
  551. {
  552. "n": "2006",
  553. "v": "2006"
  554. },
  555. {
  556. "n": "2005",
  557. "v": "2005"
  558. },
  559. {
  560. "n": "2004",
  561. "v": "2004"
  562. }
  563. ]
  564. },
  565. {
  566. "key": "by",
  567. "name": "排序",
  568. "value": [
  569. {
  570. "n": "时间",
  571. "v": ""
  572. },
  573. {
  574. "n": "人气",
  575. "v": "hits"
  576. },
  577. {
  578. "n": "评分",
  579. "v": "score"
  580. }
  581. ]
  582. }
  583. ],
  584. "dongman": [
  585. {
  586. "key": "area",
  587. "name": "地区",
  588. "value": [
  589. {
  590. "n": "全部",
  591. "v": ""
  592. },
  593. {
  594. "n": "中国大陆",
  595. "v": "中国大陆"
  596. },
  597. {
  598. "n": "日本",
  599. "v": "日本"
  600. },
  601. {
  602. "n": "欧美",
  603. "v": "欧美"
  604. },
  605. {
  606. "n": "其他",
  607. "v": "其他"
  608. }
  609. ]
  610. },
  611. {
  612. "key": "year",
  613. "name": "年份",
  614. "value": [
  615. {
  616. "n": "全部",
  617. "v": ""
  618. },
  619. {
  620. "n": "2022",
  621. "v": "2022"
  622. },
  623. {
  624. "n": "2021",
  625. "v": "2021"
  626. },
  627. {
  628. "n": "2020",
  629. "v": "2020"
  630. },
  631. {
  632. "n": "2019",
  633. "v": "2019"
  634. },
  635. {
  636. "n": "2018",
  637. "v": "2018"
  638. },
  639. {
  640. "n": "2017",
  641. "v": "2017"
  642. },
  643. {
  644. "n": "2016",
  645. "v": "2016"
  646. },
  647. {
  648. "n": "2015",
  649. "v": "2015"
  650. },
  651. {
  652. "n": "2014",
  653. "v": "2014"
  654. },
  655. {
  656. "n": "2013",
  657. "v": "2013"
  658. },
  659. {
  660. "n": "2012",
  661. "v": "2012"
  662. },
  663. {
  664. "n": "2011",
  665. "v": "2011"
  666. },
  667. {
  668. "n": "2010",
  669. "v": "2010"
  670. },
  671. {
  672. "n": "2009",
  673. "v": "2009"
  674. },
  675. {
  676. "n": "2008",
  677. "v": "2008"
  678. },
  679. {
  680. "n": "2007",
  681. "v": "2007"
  682. },
  683. {
  684. "n": "2006",
  685. "v": "2006"
  686. },
  687. {
  688. "n": "2005",
  689. "v": "2005"
  690. },
  691. {
  692. "n": "2004",
  693. "v": "2004"
  694. }
  695. ]
  696. },
  697. {
  698. "key": "by",
  699. "name": "排序",
  700. "value": [
  701. {
  702. "n": "时间",
  703. "v": ""
  704. },
  705. {
  706. "n": "人气",
  707. "v": "hits"
  708. },
  709. {
  710. "n": "评分",
  711. "v": "score"
  712. }
  713. ]
  714. }
  715. ]
  716. }
  717. }