Spaces:
Running
Running
Update index.js
Browse files
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 |
|