recycleactor commited on
Commit
5540732
·
verified ·
1 Parent(s): 3ce45a2

Upload server.js

Browse files
Files changed (1) hide show
  1. server.js +3 -2
server.js CHANGED
@@ -385,6 +385,7 @@ function handleHls(req, res) {
385
  const isObrut = pu.hostname.includes('obrut') || pu.hostname.includes('superdupercdn');
386
  const isCinemap = pu.hostname.includes('cinemap');
387
  const isAlloha = pu.hostname.includes('stream-balancer') || pu.hostname.includes('streamalloha') || pu.hostname.includes('allo-');
 
388
  const opts = {
389
  hostname: pu.hostname,
390
  port: pu.port || (pu.protocol === 'https:' ? 443 : 80),
@@ -392,8 +393,8 @@ function handleHls(req, res) {
392
  headers: {
393
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36',
394
  'accept': '*/*',
395
- 'origin': isCinemap ? 'https://uakinogo.io' : isObrut ? 'https://kinojump.com' : isAlloha ? 'https://streamalloha.live' : 'https://streamalloha.live',
396
- 'referer': isCinemap ? 'https://uakinogo.io/' : isObrut ? 'https://kinojump.com/' : isAlloha ? 'https://streamalloha.live/' : 'https://streamalloha.live/',
397
  },
398
  };
399
  if (req.headers['range']) opts.headers['range'] = req.headers['range'];
 
385
  const isObrut = pu.hostname.includes('obrut') || pu.hostname.includes('superdupercdn');
386
  const isCinemap = pu.hostname.includes('cinemap');
387
  const isAlloha = pu.hostname.includes('stream-balancer') || pu.hostname.includes('streamalloha') || pu.hostname.includes('allo-');
388
+ const isRstprg = pu.hostname.includes('rstprgapipt.com');
389
  const opts = {
390
  hostname: pu.hostname,
391
  port: pu.port || (pu.protocol === 'https:' ? 443 : 80),
 
393
  headers: {
394
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36',
395
  'accept': '*/*',
396
+ 'origin': isCinemap ? 'https://uakinogo.io' : isObrut ? 'https://kinojump.com' : isAlloha ? 'https://streamalloha.live' : isRstprg ? 'https://veoveo.ru' : 'https://streamalloha.live',
397
+ 'referer': isCinemap ? 'https://uakinogo.io/' : isObrut ? 'https://kinojump.com/' : isAlloha ? 'https://streamalloha.live/' : isRstprg ? 'https://veoveo.ru/' : 'https://streamalloha.live/',
398
  },
399
  };
400
  if (req.headers['range']) opts.headers['range'] = req.headers['range'];