Implement hCaptcha solving via 2Captcha & other stuff

- implement hCaptcha solving via paid service 2Captcha and browser automation library Playwright with rebrowser-patches

- implement sunoApi instances caching so sessions won't be constantly updated

- add support for entering cookies not only in SUNO_COOKIE, but also the Cookie HTTP header

- update docs and add Russian docs
This commit is contained in:
gohoski
2025-01-06 05:25:08 +03:00
parent 3bffec1ea1
commit 7da7ac6ae2
24 changed files with 10837 additions and 138 deletions
+7 -2
View File
@@ -1,2 +1,7 @@
SUNO_COOKIE=<your-suno-cookie>
# For more information, please see the README.md
SUNO_COOKIE=
TWOCAPTCHA_KEY= # Obtain from 2captcha.com
BROWSER=chromium # chromium or firefox
BROWSER_GHOST_CURSOR=false
BROWSER_LOCALE=en
BROWSER_HEADLESS=true