mirror of
https://git.luna-app.eu/50n50/sources
synced 2026-01-12 01:18:11 +01:00
Update hollymoviehd/hollymoviehd.js
This commit is contained in:
parent
db51e71e74
commit
e21a030392
1 changed files with 4 additions and 4 deletions
|
|
@ -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 === 'mp4' && s.file.startsWith('//khdiamondcdn.asia'));
|
||||||
if (hlsSource) {
|
if (hlsSource) {
|
||||||
const streamUrl = 'https://flashstream.cc' + hlsSource.file;
|
const streamUrl = "https:" + 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 === 'mp4' && s.file.startsWith('//khdiamondcdn.asia'));
|
||||||
if (hlsSource) {
|
if (hlsSource) {
|
||||||
const streamUrl = 'https://flashstream.cc' + hlsSource.file;
|
const streamUrl = "https:" + hlsSource.file;
|
||||||
const result = {
|
const result = {
|
||||||
streams: [
|
streams: [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue