Nexchan commited on
Commit
b21a778
1 Parent(s): 0b48f73

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +2 -0
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