diff --git a/src/modules/processing/services/ok.js b/src/modules/processing/services/ok.js index 295d5b81..97bbcf82 100644 --- a/src/modules/processing/services/ok.js +++ b/src/modules/processing/services/ok.js @@ -20,14 +20,15 @@ export default async function(o) { }).then(r => r.text()).catch(() => {}); if (!html) return { error: 'ErrorCouldntFetch' }; - if (!html.includes(`
/) + ?.[1] + ?.replaceAll(""", '"'); + + if (!videoData) { return { error: 'ErrorEmptyDownload' }; } - let videoData = html.split(`