Skip to content

Commit 72bdbe0

Browse files
committed
change song API url in interface wait trigger
1 parent 881c6c7 commit 72bdbe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/SunoApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class SunoApi {
281281

282282
logger.info('Waiting for Suno interface to load');
283283
// await page.locator('.react-aria-GridList').waitFor({ timeout: 60000 });
284-
await page.waitForResponse('**/api/feed/v2**', { timeout: 60000 }); // wait for song list API call
284+
await page.waitForResponse('**/api/project/**\\?**', { timeout: 60000 }); // wait for song list API call
285285

286286
if (this.ghostCursorEnabled)
287287
this.cursor = await createCursor(page);

0 commit comments

Comments
 (0)