Update src/modules/processing/services/rutube.js

Signed-off-by: jj <log@riseup.net>
This commit is contained in:
jj 2024-04-29 17:16:51 +02:00 committed by GitHub
parent bebeda7881
commit 1e0627038a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ export default async function(obj) {
return { error: ['ErrorLengthLimit', maxVideoDuration / 60000] };
let m3u8 = await fetch(play.video_balancer.m3u8)
.then((r) => { return r.text() })
.then(r => r.text())
.catch(() => {});
if (!m3u8) return { error: 'ErrorCouldntFetch' };