玩偶哥哥.json 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.56",
  3. // 首页地址 用于获取 分类和首页推荐
  4. "homeUrl": "http://wogg.link/",
  5. // 手动设置分类,如果手动设置了分类则不使用上面的分类xpath获取分类 例如 "cateManual": {"电影": "1", "电视剧": "2"},
  6. "cateManual": {"自营电影":"1","自营电视剧":"2","综艺":"4","动漫":"3","音乐":"5","自营短剧":"6"},
  7. // 分类页地址 {cateId} 分类id {catePg} 当前页
  8. "cateUrl": "http://wogg.link/index.php/vodshow/{cateId}--------{catePg}---.html",
  9. // 同上面的homeVod字段 分类列表中的视频信息
  10. "cateVodNode": "//div[@class='module-items']/div",
  11. "cateVodName": "/div[@class='module-item-cover']/div[@class='module-item-pic']/a/@title",
  12. "cateVodId": "/div[@class='module-item-cover']/div[@class='module-item-pic']/a/@href",
  13. //"cateVodIdR": "/k/(\\w+)/",
  14. "cateVodImg": "/div[@class='module-item-cover']/div[@class='module-item-pic']/img/@data-src",
  15. "cateVodMark": "//div[@class='module-item-text']/text()",
  16. //"cateVodMark": "/div[@class='module-item-cover']/div[@class='module-item-caption']/span/text()",
  17. // 详情页地址 用于获取详情页信息 及 播放列表和地址
  18. "dtUrl": "http://wogg.link/{vid}",
  19. // 详情节点
  20. "dtNode": "//div[@class='box view-heading']",
  21. // 视频名
  22. "dtName": "/div[2]/div/div/img/@alt",
  23. // 视频图片
  24. "dtImg": "/div[2]/div/div/img/@data-src",
  25. // 视频分类
  26. //"dtCate": "//span[contains(text(), '分类:')]/following-sibling::a/text()",
  27. //"dtCateR": "",
  28. // 视频年份
  29. "dtYear": "/div[3]/div[2]/div[3]/div/a/text()",
  30. //"dtYearR": "",
  31. // 视频地区
  32. //"dtArea": "//span[contains(text(), '地区:')]/following-sibling::a/text()",
  33. //"dtAreaR": "",
  34. // 视频状态
  35. //"dtMark": "//span[contains(text(), '更新:')]/following-sibling::a/text()",
  36. //"dtMarkR": "",
  37. // 主演
  38. "dtActor": "/div[3]/div[2]/div[2]/div/a/text()",
  39. //"dtActorR": "",
  40. // 导演
  41. "dtDirector": "/div[3]/div[2]/div[1]/div/a/text()",
  42. //"dtDirectorR": "",
  43. // 视频简介
  44. "dtDesc": "/div[3]/div[2]/div[5]/div/p[2]/text()",
  45. //"dtDescR": "",
  46. // 播放源节点
  47. "dtFromNode": "//div[@class='module-tab-content']/div",
  48. // 播放源名称
  49. "dtFromName": "/span/text()",
  50. // 二次处理正则
  51. //"dtFromNameR": "",
  52. // 播放列表节点 ///../../following-sibling::div/ul
  53. "dtUrlNode": "//div[@class='scroll-box-y']/div",
  54. // 播放地址节点
  55. "dtUrlSubNode": "/div/a",
  56. // 播放地址
  57. "dtUrlId": "/@data-clipboard-text",
  58. // 二次处理正则
  59. //"dtUrlIdR": "",
  60. // 剧集名称
  61. "dtUrlName": "/div/h4/text()",
  62. // 二次处理正则
  63. //"dtUrlNameR": "",
  64. // 播放页面的地址 {playUrl} 对应上面 dtUrlId 获取到的地址
  65. "playUrl": "{playUrl}",
  66. //搜索
  67. "searchUrl": "http://wogg.link/index.php/vodsearch/-------------.html?wd={wd}",
  68. "scVodNode": "//div[@class='module-items']/div",
  69. "scVodName": "/div[@class='video-info']/div[@class='video-info-header']/a/@title",
  70. "scVodId": "/div[@class='video-info']/div[@class='video-info-header']/a/@href",
  71. //"scVodIdR": "/voddetail/(\\w+).html",
  72. "scVodImg": "/div[@class='video-cover']/div/div/img/@data-src",
  73. "scVodMark": "/div[@class='video-info']/div[@class='video-info-header']/a/text()"
  74. }