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

Upload 2 files

Browse files
Files changed (2) hide show
  1. server.js +3 -2
  2. veoveo_map.json +0 -0
server.js CHANGED
@@ -467,8 +467,8 @@ const server = http.createServer(async (req, res) => {
467
  fetchRaw(embedUrl, {
468
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36',
469
  'referer': 'https://veoveo.ru/',
470
- 'origin': 'https://veoveo.ru',
471
  'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8',
 
472
  }).then(text => {
473
  res.writeHead(200, {
474
  'Access-Control-Allow-Origin': '*',
@@ -487,7 +487,8 @@ const server = http.createServer(async (req, res) => {
487
  if (!contentId) { jsonResp(res, { ok: false, error: 'no id' }, 400); return; }
488
  fetchRaw('https://api.rstprgapipt.com/balancer-api/proxy/playlists/catalog-api/episodes?content-id=' + contentId, {
489
  'referer': 'https://veoveo.ru/',
490
- 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36'
 
491
  }).then(text => {
492
  res.writeHead(200, {
493
  'Access-Control-Allow-Origin': '*',
 
467
  fetchRaw(embedUrl, {
468
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36',
469
  'referer': 'https://veoveo.ru/',
 
470
  'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8',
471
+ 'connection': 'keep-alive'
472
  }).then(text => {
473
  res.writeHead(200, {
474
  'Access-Control-Allow-Origin': '*',
 
487
  if (!contentId) { jsonResp(res, { ok: false, error: 'no id' }, 400); return; }
488
  fetchRaw('https://api.rstprgapipt.com/balancer-api/proxy/playlists/catalog-api/episodes?content-id=' + contentId, {
489
  'referer': 'https://veoveo.ru/',
490
+ 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36',
491
+ 'accept': 'application/json, text/plain, */*'
492
  }).then(text => {
493
  res.writeHead(200, {
494
  'Access-Control-Allow-Origin': '*',
veoveo_map.json ADDED
The diff for this file is too large to render. See raw diff