Git Product home page Git Product logo

Comments (15)

AshwinPathi avatar AshwinPathi commented on June 10, 2024 2

I'll try and fix it as well.

from claude-api-py.

Lxb921006 avatar Lxb921006 commented on June 10, 2024

same error,Maybe Claude found out,hahaha

from claude-api-py.

AshwinPathi avatar AshwinPathi commented on June 10, 2024

Yea it seems like they either have some protections or im missing header fields. Let me experiment

from claude-api-py.

AshwinPathi avatar AshwinPathi commented on June 10, 2024

Welp turns out they also rate limit conversations on accounts now lol

from claude-api-py.

winie-hy avatar winie-hy commented on June 10, 2024

Is there a way to fix them? Author boss

from claude-api-py.

sdimantsd avatar sdimantsd commented on June 10, 2024

Same in here :-(

from claude-api-py.

1024bit avatar 1024bit commented on June 10, 2024

Me too :-(

from claude-api-py.

sdimantsd avatar sdimantsd commented on June 10, 2024

Yea it seems like they either have some protections or im missing header fields. Let me experiment

Is that help you?
KoushikNavuluri/Claude-API#42

from claude-api-py.

sdimantsd avatar sdimantsd commented on June 10, 2024

Here a fix in another repo
KoushikNavuluri/Claude-API@184f52c

from claude-api-py.

winie-hy avatar winie-hy commented on June 10, 2024

I think the repair above is temporary, and the function of uploading files is also invalid. It seems that the issus processing above is to get, organize and extract the entire page content, which is not feasible for me to try

from claude-api-py.

sdimantsd avatar sdimantsd commented on June 10, 2024

I realised. Thank you
So don't wait for a fix for the current project?

from claude-api-py.

winie-hy avatar winie-hy commented on June 10, 2024

https://github.com/KoushikNavuluri/Claude-API I found this can be used, you see if it has inspiration for you

from claude-api-py.

AshwinPathi avatar AshwinPathi commented on June 10, 2024

The thing is, using the requests library on my machine doesn't work correctly, which is why I implemented my own home made requests library with urllib. I need to test out some more to figure out the dicrepancy. My guess is requests sends some "invisible" headers that urllib doesnt.

from claude-api-py.

winie-hy avatar winie-hy commented on June 10, 2024

from curl_cffi import requests ,Maybe it's because you need to ask for it? Looks like web information to get this @AshwinPathi

from claude-api-py.

st1vms avatar st1vms commented on June 10, 2024

Hello, I recently improved the existing solutions, by fixing header consistency, adding auto session gathering using Firefox login and selenium, and auto user agent retrieval along with timezone.

My unofficial version of the API does currently work like a charm, it supports chat creation/deletion/retrieval and messages with attachments (with all the supported file types). It also let you handle a MessageRateLimit exception that provides you with the amount of seconds to sleep before next rateReset.

Come have a try! Leave a ⭐ if you can : )

https://github.com/st1vms/unofficial-claude2-api

from claude-api-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.