Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
@@ -30,6 +30,8 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
|
30 |
await fss.mkdir(tempDir, { recursive: true });
|
31 |
}
|
32 |
})();
|
|
|
|
|
33 |
const execPromise = promisify(exec);
|
34 |
const youtube = google.youtube({ version: 'v3', auth: 'AIzaSyBPkpdJEGtAHebbaP3_CcA1_urfMFfeLLg' });
|
35 |
|
|
|
30 |
await fss.mkdir(tempDir, { recursive: true });
|
31 |
}
|
32 |
})();
|
33 |
+
const { exec } = require('child_process');
|
34 |
+
const writeFileAsync = promisify(fs.writeFile);
|
35 |
const execPromise = promisify(exec);
|
36 |
const youtube = google.youtube({ version: 'v3', auth: 'AIzaSyBPkpdJEGtAHebbaP3_CcA1_urfMFfeLLg' });
|
37 |
|