huya2.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "author": "baddychen",
  3. "ua": "",
  4. "homeUrl": "https://www.huya.com/g/",
  5. "cateNode": "//ul[@class='game-list clearfix']/li/a",
  6. "cateName": "/p/text()",
  7. "cateId": "/@href",
  8. "cateIdR": "https://www.huya.com/g/(\\S+)",
  9. "cateManual": {},
  10. "homeVodNode": "//ul[@class='live-list clearfix']/li",
  11. "homeVodName": "/a[contains(@class,'title')]/text()",
  12. "homeVodId": "/a[contains(@class,'video-info')]/@href",
  13. "homeVodIdR": "https://www.huya.com/(\\w+)",
  14. "homeVodImg": "/a[contains(@class,'video-info')]/img/@data-original",
  15. "homeVodImgR": "\\S+(http\\S+)",
  16. "homeVodMark": "concat(/a[contains(@class,'video-info')]/em/text(),'-',/a[contains(@class,'video-info')]/p/em/text(),'-','猫群首发751165954')",
  17. "cateUrl": "https://www.huya.com/g/{cateId}?page={catePg}",
  18. "cateVodNode": "//ul[@class='live-list clearfix']/li",
  19. "cateVodName": "/a[contains(@class,'title')]/text()",
  20. "cateVodId": "/a[contains(@class,'video-info')]/@href",
  21. "cateVodIdR": "https://www.huya.com/(\\w+)",
  22. "cateVodImg": "/a[contains(@class,'video-info')]/img/@data-original",
  23. "cateVodImgR": "\\S+(http\\S+)",
  24. "cateVodMark": "concat(/a[contains(@class,'video-info')]/em/text(),'-',/a[contains(@class,'video-info')]/p/em/text(),'-','猫群首发751165954')",
  25. "dtUrl": "https://www.huya.com/{vid}",
  26. "dtNode": "//body",
  27. "dtName": "//div[@class='host-info']/h1/text()",
  28. "dtNameR": "",
  29. "dtImg": "//div[@class='host-pic']/img/@src",
  30. "dtImgR": "\\S+(http\\S+)",
  31. "dtCate": "//span[@class='host-channel']/a[2]/text()",
  32. "dtArea": "//span[@class='host-channel']/a[1]/text()",
  33. "dtFromNode": "//h3[@class='host-name']",
  34. "dtFromName": "/text()",
  35. "dtFromNameR": "",
  36. "dtUrlNode": "//ul[@class='sidebar-icon-list']",
  37. "dtUrlSubNode": "/li[contains(@class,'allLive')]/a",
  38. "dtUrlId": "@eid_desc",
  39. "dtUrlIdR": "\\S+/(\\S+)",
  40. "dtUrlName": "/span/text()",
  41. "dtUrlNameR": "",
  42. "playUrl": "https://hd.huya.com/h5/liveshare/index.html?type=middlepage&rso=wap-live-share&lp={playUrl}",
  43. "playUa": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36",
  44. "searchUrl": "https://www.huya.com/search?hsk={wd}",
  45. "scVodNode": "//ul[@class='js-live-list']/li",
  46. "scVodName": "/a[@class='title new-clickstat']/@title",
  47. "scVodId": "/a[@class='title new-clickstat']/@href",
  48. "scVodIdR": "https://www.huya.com/(\\w+)",
  49. "scVodImg": "/a[@class='video-info new-clickstat']/img/@src",
  50. "scVodMark": ""
  51. }