KoushikNavuluri / Claude-API

This project provides an unofficial API for Claude AI, allowing users to access and interact with Claude AI .
https://pypi.org/project/claude-api/
MIT License
648 stars 112 forks source link

Cookie become invalid qiuckly #69

Closed merlinarer closed 10 months ago

merlinarer commented 10 months ago

Hey, guys~ I found my cookie become invalid qiuckly, about in a day, even I verify my acount with my phone number. Have you met the issue?

winie-hy commented 10 months ago

I have encountered the same problem, and I want to know how to remove the rate limit and expiration problem. Can I remove the rate problem through multiple account switching? Can I generate cookies in the form of code

zjttfs commented 10 months ago

I have tried using multiple different account cookies in rotation, but they all become invalid very quickly.

Luvata commented 10 months ago

My cookie is still alive for more than a week. I guess don't sign out

merlinarer commented 10 months ago

Acoording to my practice, 1 request every 10 mins for one acount could avoid rate limitation.

merlinarer commented 10 months ago

My cookie is still alive for more than a week. I guess don't sign out

Yeah, my cookie has keeping alive for about a month, but suddenly became invalid yesterday. My new cookie also expirated just in one day. I guess the Claude has taken some new strategies.

KoushikNavuluri commented 10 months ago

Cookies are valid until you signout. so please make sure you don't signout or replace new cookies. And While using Vpn ,the observations seems cookies are being changed, please try to avoid using VPN's.