change song API url in interface wait trigger

This commit is contained in:
gohoski 2025-01-15 23:17:00 +03:00
parent 881c6c773c
commit 72bdbe083e

View File

@ -281,7 +281,7 @@ class SunoApi {
logger.info('Waiting for Suno interface to load'); logger.info('Waiting for Suno interface to load');
// await page.locator('.react-aria-GridList').waitFor({ timeout: 60000 }); // await page.locator('.react-aria-GridList').waitFor({ timeout: 60000 });
await page.waitForResponse('**/api/feed/v2**', { timeout: 60000 }); // wait for song list API call await page.waitForResponse('**/api/project/**\\?**', { timeout: 60000 }); // wait for song list API call
if (this.ghostCursorEnabled) if (this.ghostCursorEnabled)
this.cursor = await createCursor(page); this.cursor = await createCursor(page);