NekonekoID commited on
Commit
aca9c68
·
verified ·
1 Parent(s): e7ec152

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +6 -1
index.js CHANGED
@@ -259,7 +259,12 @@ function toPDF(urls) {
259
  }
260
 
261
  async function scrapeAnimeInfo() {
262
- const browser = await playwright.chromium.launch();
 
 
 
 
 
263
  const page = await browser.newPage();
264
  const url = 'https://154.26.137.28/rilisan-anime-terbaru/';
265
 
 
259
  }
260
 
261
  async function scrapeAnimeInfo() {
262
+ const browser = await playwright.chromium.launch({
263
+ headless: true,
264
+ executablePath: '/usr/bin/chromium',
265
+ args: ['--no-sandbox']
266
+ })
267
+
268
  const page = await browser.newPage();
269
  const url = 'https://154.26.137.28/rilisan-anime-terbaru/';
270