Comments (5)
Do you mean to grab the session_token from that json response?
accessToken in that json response is Authorization, not session_token.
from pychatgpt.
ah sorry i meant to not use what the json gives but use something similar to the cf cookies for the session token cookie
from pychatgpt.
The main problem is that it does not give anything useful for us if we dont provide session_token.
https://chat.openai.com/api/auth/session will respond empty json if nothing is provided.
from pychatgpt.
good point, ill try and find a way to get this to work, if I have your permission to edit the code.
from pychatgpt.
good point, ill try and find a way to get this to work, if I have your permission to edit the code.
Sure, feel free to fork the repo and make a pull request if you find anything useful.
from pychatgpt.
Related Issues (20)
- chatgpt plus: can we use pychatgpt? HOT 1
- pyChatGPT doesn't work for edge.
- pychatgpt doesn't work for two response
- pychatgpt doesn't work for two response in last version
- today pyChatgpt not working anymore ... HOT 5
- anyone help this problem
- how to use pychatgpt by email and password without cash
- TimeoutException HOT 18
- python example wrapper with 'python3 -m pyChatGPT' ?
- Login button update?
- Crash on session_token = chatgptapi ----- api = ChatGPT(session_token)
- GRPC error HOT 1
- response['message'] could not get the returned data HOT 10
- 'NoneType' object has no attribute 'group' HOT 2
- Made a library that has a similar structure to this library, but is maintained and improved
- help:list index out of range HOT 2
- Add a support for system prompts
- list index out of range
- do not work HOT 3
- version chrome_driver problem HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pychatgpt.