yihong0618 / SunoSongsCreator

About High quality songs generation by https://www.suno.ai/. Reverse engineered API.
GNU General Public License v3.0
287 stars 47 forks source link

请问cookie是 jwt 哪个token吗 #6

Open lizhemin15 opened 7 months ago

lizhemin15 commented 7 months ago

填了后报错 Exception: Failed to get session id

yihong0618 commented 7 months ago

不是 F12 XHR,https://clerk.suno.ai/v1/client?_clerk_js_version=4.70.5 这个网址里面的 cookie

lizhemin15 commented 7 months ago

不是 F12 XHR,https://clerk.suno.ai/v1/client?_clerk_js_version=4.70.5 这个网址里面的 cookie

访问了出来的这个,是整体复制吗,还是哪个字段 image

yihong0618 commented 7 months ago

不是这个是 header 里的 cookie 整个复制

lizhemin15 commented 7 months ago

不是这个是 header 里的 cookie 整个复制

懂了,谢谢佬,后续的人如果有相同的问题的,可按如下步骤操作:

  1. 浏览器进入大佬给定网址
  2. 使用浏览器插件 Cookie-Editor点Export 为Header String
  3. 得到形如"__client_uat=1711375871;__cf_bm=OrPl3UdpYAYLiBRJgN9Aol6Utx6zC2LRY6C7q517xxxx"的就是需要的cookie了

大佬,关于这部分建议在说明中再稍微说说?我这种小白上手就还有一定门槛

yihong0618 commented 7 months ago

不是这个是 header 里的 cookie 整个复制

懂了,谢谢佬,后续的人如果有相同的问题的,可按如下步骤操作:

  1. 浏览器进入大佬给定网址

  2. 使用浏览器插件 Cookie-Editor点Export 为Header String

  3. 得到形如"__client_uat=1711375871;__cf_bm=OrPl3UdpYAYLiBRJgN9Aol6Utx6zC2LRY6C7q517xxxx"的就是需要的cookie了

大佬,关于这部分建议在说明中再稍微说说?我这种小白上手就还有一定门槛

iSte94 commented 7 months ago

it's the same with the new version? image

yihong0618 commented 7 months ago

yes。

BuwadsMod commented 7 months ago

it's the same with the new version? image

how did you manage to get this sir

BuwadsMod commented 7 months ago

what do i put here in client_uat

image

yihong0618 commented 7 months ago

you need copy all 得到形如"__client_uat=1711375871;__cf_bm=OrPl3UdpYAYLiBRJgN9Aol6Utx6zC2LRY6C7q517xxxx"的就是需要的cookie了

BuwadsMod commented 7 months ago

you need copy all to get the cookie that looks like "__client_uat=1711375871;__cf_bm=OrPl3UdpYAYLiBRJgN9Aol6Utx6zC2LRY6C7q517xxxx"

boss i cant find that kind of cookie its different this is mine

_ga =GA1.1.656884068.1711868496

is this it ?

enteryfx commented 6 months ago

you need copy all 得到形如"__client_uat=1711375871;__cf_bm=OrPl3UdpYAYLiBRJgN9Aol6Utx6zC2LRY6C7q517xxxx"的就是需要的cookie了

你好,我尝试访问您给出的url 显示 8ad059f2282f6d1b321c8f434a7c245 you have been blocked 可以解答一下这是为什么吗

yihong0618 commented 6 months ago

应该是被风控封号了。

enteryfx commented 6 months ago

应该是被风控封号了。

但是用别的电脑,从来没有登录过suno,也是这样,也是风控了嘛。。。

yihong0618 commented 6 months ago

不知道。。。

enteryfx commented 6 months ago

不知道。。。

哈哈好吧,我再尝试一下