MCPcopy Index your code
hub / github.com/SunoAI-API/Suno-API / load_cookie

Method load_cookie

cookie.py:19–20  ·  view source on GitHub ↗
(self, cookie_str)

Source from the content-addressed store, hash-verified

17 self.token = None
18
19 def load_cookie(self, cookie_str):
20 self.cookie.load(cookie_str)
21
22 def get_cookie(self):
23 return ";".join([f"{i}={self.cookie.get(i).value}" for i in self.cookie.keys()])

Callers 2

cookie.pyFile · 0.80
update_tokenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected