Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -1251,6 +1251,8 @@ async function scrapeHAnimeDetails(url) {
|
|
| 1251 |
const iframe = document.querySelector("body > div > iframe");
|
| 1252 |
return iframe ? iframe.src : null;
|
| 1253 |
});
|
|
|
|
|
|
|
| 1254 |
|
| 1255 |
// Ambil video jika link iframe ditemukan
|
| 1256 |
let video = null;
|
|
@@ -1269,11 +1271,11 @@ async function scrapeHAnimeDetails(url) {
|
|
| 1269 |
}
|
| 1270 |
});
|
| 1271 |
}
|
| 1272 |
-
|
| 1273 |
// Tambahkan video ke hasil
|
| 1274 |
result.video = video;
|
| 1275 |
|
| 1276 |
-
|
| 1277 |
|
| 1278 |
await browser.close();
|
| 1279 |
return result;
|
|
|
|
| 1251 |
const iframe = document.querySelector("body > div > iframe");
|
| 1252 |
return iframe ? iframe.src : null;
|
| 1253 |
});
|
| 1254 |
+
|
| 1255 |
+
console.log(iframeSrc)
|
| 1256 |
|
| 1257 |
// Ambil video jika link iframe ditemukan
|
| 1258 |
let video = null;
|
|
|
|
| 1271 |
}
|
| 1272 |
});
|
| 1273 |
}
|
| 1274 |
+
|
| 1275 |
// Tambahkan video ke hasil
|
| 1276 |
result.video = video;
|
| 1277 |
|
| 1278 |
+
|
| 1279 |
|
| 1280 |
await browser.close();
|
| 1281 |
return result;
|