去广告测试源1.js 666 B

1234567891011121314151617181920212223
  1. var rule = {
  2. title: '去广告测试源1',
  3. host: '',
  4. play_parse: true,
  5. lazy: `js:
  6. input = {
  7. parse:0,
  8. jx:0,
  9. url:getProxyUrl()+'&url='+'https://yzzy.play-cdn21.com/20240227/945_dd89a1c4/index.m3u8',
  10. //url:getProxyUrl()+'&url='+'https://s1.bfzycdn.com/video/renmindemingyi/第07集/index.m3u8',
  11. };
  12. `,
  13. proxy_rule: `js:
  14. let url = input.url;
  15. // input = [403,'text/plain',url];
  16. // let html = request(url);
  17. //let content = fixAdM3u8(null,url,'reg:/video/adjump(.*?)ts')
  18. //input = [200,'video/MP2T',content];
  19. let m3u8 = fixAdM3u8Ai(url);
  20. input = [200,'application/vnd.apple.mpegurl',m3u8]
  21. `
  22. }