hw_if101.json 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1",
  3. "homeUrl": "https://demo.if101.tv/",
  4. "cateManual": {
  5. "电影": "20",
  6. "电视剧": "21",
  7. "综艺": "23",
  8. "动漫": "22",
  9. "记录片": "25"
  10. },
  11. // Home Summary ================================================
  12. "homeVodNode": "//li[@class='clearfix']/h3[@class='title']",
  13. "homeVodName": "/a/text()",
  14. "homeVodId": "/a/@href",
  15. "homeVodImg": "/a/@data-original",
  16. "homeVodMark": "/a/span[@class='pic-text text-right']/text()",
  17. // Category Summary ================================================
  18. "cateUrl": "https://demo.if101.tv/index.php/vod/type/id/{cateId}/page/{catePg}.html",
  19. "cateVodNode": "//h3[contains(@class,'title')]",
  20. "cateVodName": "/a/@title",
  21. "cateVodId": "/a/@href",
  22. // "cateVodIdR": "/index.php/vod/detail/id/(\\w+).html",
  23. "cateVodImg": "/a/@data-original",
  24. "cateVodMark": "/a/span[@class='pic-text text-right']/text()",
  25. // Category Details ================================================
  26. "dtUrl": "https://demo.if101.tv/{vid}",
  27. "dtNode": "//div[@class='stui-pannel clearfix']",
  28. "dtName": "//div[@class='stui-content__thumb']/a/@title",
  29. "dtImg": "//div[@class='stui-content__thumb']/a/img/@src",
  30. "dtCate": "//p[@class='data hidden-xs'][2]/text()[1]",
  31. "dtDirector": "//p[@class='data'][3]/text()[1]",
  32. "dtActor": "//p[@class='data'][2]/text()[1]",
  33. "dtDesc": "//div[@class='stui-content__desc col-pd clearfix'][1]/text()[1]",
  34. // Playlist =====================================================
  35. "dtFromNode": "//div[@class='stui-content clearfix']/div[@class='stui-content__thumb']",
  36. "dtFromName": "/a/@title",
  37. "dtUrlNode": "//ul[@class='stui-content__playlist clearfix']", // number must match
  38. "dtUrlSubNode": "/li",
  39. "dtUrlId": "/a[1]/@href",
  40. "dtUrlName": "/a[2]/text()",
  41. "playUrl": "https://demo.if101.tv/{playUrl}",
  42. "playUa": "",
  43. // Search Results ================================================
  44. "searchUrl": "https://demo.if101.tv/index.php/vod/search.html?wd={wd}&submit=",
  45. "scVodNode": "//li[@class='clearfix']/h3[@class='title']",
  46. "scVodName": "/a/@title",
  47. "scVodId": "/a/@href",
  48. "scVodIdR": "/detail/(\\w+).html",
  49. "scVodImg": "/a/@data-original",
  50. "scVodMark": "/a/span[@class='pic-text text-right']/text()"
  51. }