Update rgshows source URLs and headers to .ru domain

Changed all references from rgshows.me to rgshows.ru in baseUrl and HTTP headers to reflect the new domain. This ensures requests are sent to the correct API and comply with updated referer and origin requirements.
This commit is contained in:
rev9dev-netizen 2025-11-20 22:53:44 +05:30
parent 961baf979b
commit cbb39e9b0b

View file

@ -3,11 +3,11 @@ import { NotFoundError } from '@/utils/errors';
import { SourcererOutput, makeSourcerer } from '../base';
const baseUrl = 'api.rgshows.me';
const baseUrl = 'api.rgshows.ru';
const headers = {
referer: 'https://rgshows.me/',
origin: 'https://rgshows.me',
referer: 'https://www.rgshows.ru/',
origin: 'https://www.rgshows.ru',
host: baseUrl,
'User-Agent':
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
@ -36,8 +36,8 @@ async function comboScraper(ctx: ShowScrapeContext | MovieScrapeContext): Promis
const m3u8Headers = {
...headers,
host: streamHost,
origin: 'https://www.rgshows.me',
referer: 'https://www.rgshows.me/',
origin: 'https://www.rgshows.ru',
referer: 'https://www.rgshows.ru/',
};
ctx.progress(100);