mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-17 18:58:33 +00:00
Update src/modules/processing/services/rutube.js
Signed-off-by: jj <log@riseup.net>
This commit is contained in:
parent
bebeda7881
commit
1e0627038a
@ -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' };
|
||||
|
Loading…
Reference in New Issue
Block a user