Remove unnecessary logging

This commit is contained in:
gohoski 2025-01-06 06:08:04 +03:00
parent 7da7ac6ae2
commit 64b41508d4
2 changed files with 1 additions and 5 deletions

View File

@ -329,7 +329,7 @@ You can integrate Suno AI as a tool/plugin/action into your AI agent.
There are four ways you can support this project:
1. Fork and Submit Pull Requests: We welcome any PRs that enhances the functionality, APIs, response time and availability. You can also help us just by translating this README into your language—any help for this project is welcome!
1. Fork and Submit Pull Requests: We welcome any PRs that enhance the functionality, APIs, response time and availability. You can also help us just by translating this README into your language—any help for this project is welcome!
2. Open Issues: We appreciate reasonable suggestions and bug reports.
3. Donate: If this project has helped you, consider buying us a coffee using the Sponsor button at the top of the project. Cheers! ☕
4. Spread the Word: Recommend this project to others, star the repo, or add a backlink after using the project.

View File

@ -156,7 +156,6 @@ class SunoApi {
const newToken = renewResponse.data.jwt;
// Update Authorization field in request header with the new JWT token
this.currentToken = newToken;
logger.info(this.currentToken);
}
/**
@ -278,9 +277,6 @@ class SunoApi {
const page = await browser.newPage();
await page.goto('https://suno.com/create', { referer: 'https://www.google.com/', waitUntil: 'domcontentloaded', timeout: 0 });
page.on('request', request => console.log('>>', request.method(), request.url()));
page.on('response', response => console.log('<<', response.status(), response.url()));
logger.info('Waiting for Suno interface to load');
await page.locator('.react-aria-GridList').waitFor({ timeout: 60000 });