wlhtea / Suno2openai

以openai格式调用suno api,并将cookie保存为数据库,实现cookie池调用 📈已接入newapi、oneapi中转站,适配chat-next-web等前端项目 || Call suno api in openai format, and save the cookie as a database to realize the cookie pool call to access newapi, oneapi relay station, adapting chat-next-web and other front-end projects
MIT License
220 stars 44 forks source link

🚀 修复添加cookies的BUG,提高健壮性,同时新增获取cookies,查看可用cookies数 #32

Closed Yanyutin753 closed 3 months ago

Yanyutin753 commented 3 months ago

本次PR的内容

  1. 修复添加cookies的BUG,无效cookie也可以导入到数据库 #31

  2. 新增获取cookies详细信息 image

  3. 添加请求用于删除数据库里的无效的cookies,需要加上请求头Authorization和自定义请求前缀COOKIES_PREFIX

    • COOKIES_PREFIX/refresh/cookies delete: 用于删除数据库里的无效的cookies

image