动漫巴士XPath.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "ua": "",
  3. "homeUrl": "https://dm84.tv",
  4. "cateNode": "//ul[contains(@class,'nav_row')]/li/a[contains(@href, '.html')]",
  5. "cateName": "/text()",
  6. "cateId": "/@href",
  7. "cateIdR": "/list-(\\d+).html",
  8. "cateManual": {},
  9. "homeVodNode": "//ul[@class='v_list']/li/div[@class='item']",
  10. "homeVodName": "/a[@class='title']/@title",
  11. "homeVodId": "/a[@class='title']/@href",
  12. "homeVodIdR": "/v/(\\w+).html",
  13. "homeVodImg": "/a/@data-bg",
  14. "homeVodMark": "/span[@class='desc']/text()",
  15. "cateUrl": "https://dm84.tv/list-{cateId}-{catePg}.html",
  16. "cateVodNode": "//ul[@class='v_list']/li/div[@class='item']",
  17. "cateVodName": "/a[@class='title']/@title",
  18. "cateVodId": "/a[@class='title']/@href",
  19. "cateVodIdR": "/v/(\\w+).html",
  20. "cateVodImg": "/a/@data-bg",
  21. "cateVodMark": "/span[@class='desc']/text()",
  22. "dtUrl": "https://dm84.tv/v/{vid}.html",
  23. "dtNode": "//div[contains(@class,'v_content')]",
  24. "dtName": "/parent::*/h1[@class='v_title']/a/text()",
  25. "dtImg": "/div[@class='cover']/img/@src",
  26. "dtFromNode": "//ul[contains(@class,'play_from')]/li",
  27. "dtFromName": "/text()",
  28. "dtUrlNode": "//ul[contains(@class,'play_list')]",
  29. "dtUrlSubNode": "/li/a",
  30. "dtUrlId": "@href",
  31. "dtUrlIdR": "/p/(\\S+).html",
  32. "dtUrlName": "/text()",
  33. "playUrl": "https://dm84.tv/p/{playUrl}.html",
  34. "searchUrl": "https://m.xinzhandao.com/s----------.html?wd={wd}",
  35. "scVodNode": "//ul[@class='v_list']/li/div[@class='item']",
  36. "scVodName": "/a[@class='title']/@title",
  37. "scVodId": "/a[@class='title']/@href",
  38. "scVodIdR": "/v/(\\w+).html",
  39. "scVodImg": "/a/@data-bg",
  40. "scVodMark": "/span[@class='desc']/text()"
  41. }