Update hollymoviehd/hollymoviehd.js

This commit is contained in:
aka paul 2026-01-01 18:48:47 +00:00
parent e4362cfb95
commit a3f5d391fb

View file

@ -230,9 +230,9 @@ async function extractStreamUrl(ID) {
console.log(postText); console.log(postText);
const data = JSON.parse(postText); const data = JSON.parse(postText);
const sources = data.sources; const sources = data.sources;
const hlsSource = sources.find(s => s.type === 'hls' && s.file.startsWith('/streamsvr/')); const hlsSource = sources.find(s => s.type === 'hls' && s.file.startsWith('https://flashstream.cc/pl/'));
if (hlsSource) { if (hlsSource) {
const streamUrl = 'https://flashstream.cc' + hlsSource.file; const streamUrl = hlsSource.file;
const result = { const result = {
streams: [ streams: [
{ {
@ -313,9 +313,9 @@ async function extractStreamUrl(ID) {
console.log(postText); console.log(postText);
const data = JSON.parse(postText); const data = JSON.parse(postText);
const sources = data.sources; const sources = data.sources;
const hlsSource = sources.find(s => s.type === 'hls' && s.file.startsWith('/streamsvr/')); const hlsSource = sources.find(s => s.type === 'hls' && s.file.startsWith('https://flashstream.cc/pl/'));
if (hlsSource) { if (hlsSource) {
const streamUrl = 'https://flashstream.cc' + hlsSource.file; const streamUrl = hlsSource.file;
const result = { const result = {
streams: [ streams: [
{ {