星辰CT.js 971 B

12345678910111213141516171819202122232425262728293031
  1. Object.assign(muban.首图2.二级, {
  2. "tabs": ".nav-tabs&&a",
  3. "lists": ".stui-content__playlist:eq(#id)&&a:not(:contains(1080))",
  4. });
  5. var rule = {
  6. 模板: '首图2',
  7. title: '星辰CT',
  8. host: 'https://citytv.cc',
  9. url: '/tv/fyclass-fypage/',
  10. searchUrl: '/wd/**/page/fypage/',
  11. class_parse: '.stui-header__menu li:gt(0):lt(7);a&&Text;a&&href;.*/(.*?)/',
  12. lazy: $js.toString(() => {
  13. let html = JSON.parse(request(input).match(/r player_.*?=(.*?)</)[1]);
  14. let url = html.url;
  15. if (html.encrypt == '1') {
  16. url = unescape(url)
  17. } else if (html.encrypt == '2') {
  18. url = unescape(base64Decode(url))
  19. }
  20. if (/\.m3u8|\.mp4/.test(url)) {
  21. input = {
  22. jx: 0,
  23. url: url,
  24. parse: 0
  25. }
  26. } else {
  27. input
  28. }
  29. }),
  30. 搜索: '.stui-vodlist li;a&&title;a&&data-original;.pic-text&&Text;a&&href',
  31. }