NekonekoID commited on
Commit
f209e03
·
verified ·
1 Parent(s): d6943d4

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +3 -1
index.js CHANGED
@@ -253,7 +253,9 @@ async function scrapeAnimeInfo() {
253
  const url = 'https://154.26.137.28/rilisan-anime-terbaru/';
254
 
255
  await page.goto(url);
256
- await page.waitForSelector('.postbody', { visible: true, timeout: (5000) });
 
 
257
 
258
  const articlesInfo = await page.$$eval('.postbody .is-anime', articles => {
259
  return articles.map(article => {
 
253
  const url = 'https://154.26.137.28/rilisan-anime-terbaru/';
254
 
255
  await page.goto(url);
256
+ const pageContent = await page.content();
257
+ console.log(pageContent);
258
+
259
 
260
  const articlesInfo = await page.$$eval('.postbody .is-anime', articles => {
261
  return articles.map(article => {