Update server.js
Browse files
server.js
CHANGED
|
@@ -58,7 +58,7 @@ async function getVideoLinks(downloadPageUrl) {
|
|
| 58 |
|
| 59 |
// Wait for the download buttons to load
|
| 60 |
await page.waitForTimeout(5000);
|
| 61 |
-
await page.waitForSelector('a[href*="ggredi.info/download.php"]', { timeout:
|
| 62 |
|
| 63 |
// Extract video links
|
| 64 |
const videoLinks = await page.evaluate(() =>
|
|
|
|
| 58 |
|
| 59 |
// Wait for the download buttons to load
|
| 60 |
await page.waitForTimeout(5000);
|
| 61 |
+
await page.waitForSelector('a[href*="ggredi.info/download.php"]', { timeout: 60000 });
|
| 62 |
|
| 63 |
// Extract video links
|
| 64 |
const videoLinks = await page.evaluate(() =>
|