duyue.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {
  2. "author":"baddychen",
  3. "ua": "",
  4. "homeUrl": "https://www.douyu.com/g_yqk",
  5. //"cateManual": {"一起看":"g_yqk"},
  6. "cateManual": {"陪看":"290","综合":"1863"},
  7. "homeVodNode": "//ul[@class='layout-Cover-list']/li/div/a",
  8. "homeVodName": "//h3[@class='DyListCover-intro']/text()",
  9. "homeVodId": "/@href",
  10. "homeVodIdR": "(\\w+)",
  11. "homeVodImg": "//picture[contains(@class,'DyImg-content is-normal')]/img/@src",
  12. "homeVodImgR": "\\S+(http\\S+)",
  13. "homeVodMark": "concat(/a[contains(@class,'video-info')]/em/text(),'-',/a[contains(@class,'video-info')]/p/em/text(),'-',/span/span[2]/i[2]/text())",
  14. "cateUrl": "https://www.douyu.com/gapi/rkc/directory/mixList/2_208/{catePg}",
  15. https://www.douyu.com/gapi/rkc/directory/mixList/3_1863/2
  16. "cateVodNode": "json:rl",
  17. "cateVodName": "rn",
  18. "cateVodId": "url",
  19. "cateVodIdR": "(\\S+)",
  20. "cateVodImg": "rs1",
  21. "cateVodImgR": "",
  22. "cateVodMark": "desc",
  23. "dtUrl": "https://www.douyu.com/{vid}",
  24. "dtNode": "//body",
  25. "dtName": "//div[@class='host-info']/h1/text()",
  26. "dtNameR": "",
  27. "dtImg": "//div[@class='host-pic']/img/@src",
  28. "dtImgR": "\\S+(http\\S+)",
  29. "dtCate": "//span[@class='host-channel']/a[2]/text()",
  30. "dtArea": "//span[@class='host-channel']/a[1]/text()",
  31. "dtFromNode": "//h3[@class='host-name']",
  32. "dtFromName": "/text()",
  33. "dtFromNameR": "",
  34. "dtUrlNode": "//ul[@class='sidebar-icon-list']",
  35. "dtUrlSubNode": "/li[contains(@class,'allLive')]/a",
  36. "dtUrlId": "@eid_desc",
  37. "dtUrlIdR": "\\S+/(\\S+)",
  38. "dtUrlName": "/span/text()",
  39. "dtUrlNameR": "",
  40. "playUrl": "https://hd.huya.com/h5/liveshare/index.html?lp={playUrl}",
  41. //"playUrl": "https://hd.huya.com/h5/liveshare/index.html?type=middlepage&rso=wap-live-share&gameid=2&lp={playUrl}&",
  42. "playUa": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36",
  43. "searchUrl": "https://www.huya.com/search?hsk={wd}",
  44. "scVodNode": "//ul[@class='js-live-list']/li",
  45. "scVodName": "/a[@class='title new-clickstat']/@title",
  46. "scVodId": "/a[@class='title new-clickstat']/@href",
  47. "scVodIdR": "https://www.huya.com/(\\w+)",
  48. "scVodImg": "/a[@class='video-info new-clickstat']/img/@src",
  49. "scVodMark": ""
  50. }