Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -1205,7 +1205,7 @@ async function scrapeHAnime(query) {
|
|
| 1205 |
|
| 1206 |
async function scrapeHAnimeDetails(url) {
|
| 1207 |
const browser = await puppeteer.launch({
|
| 1208 |
-
headless:
|
| 1209 |
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
| 1210 |
});
|
| 1211 |
const page = await browser.newPage();
|
|
|
|
| 1205 |
|
| 1206 |
async function scrapeHAnimeDetails(url) {
|
| 1207 |
const browser = await puppeteer.launch({
|
| 1208 |
+
headless: true, // Set ke false untuk debugging
|
| 1209 |
args: ["--no-sandbox", "--disable-setuid-sandbox"],
|
| 1210 |
});
|
| 1211 |
const page = await browser.newPage();
|