mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-18 19:28:29 +00:00
Update src/modules/processing/services/odysee.js
Co-authored-by: jj <log@riseup.net>
This commit is contained in:
parent
2ae66cc9c4
commit
bf3bb79b54
@ -7,7 +7,7 @@ export default async function({ id }) {
|
||||
"user-agent": genericUserAgent
|
||||
}
|
||||
})
|
||||
.then(req => {return req.text()})
|
||||
.then(req => req.text())
|
||||
.catch(() => {});
|
||||
|
||||
if (!requestText.includes('"contentUrl": ')) return { error: 'ErrorEmptyDownload' };
|
||||
|
Loading…
Reference in New Issue
Block a user