theAbdoSabbagh / UnlimitedGPT

An unofficial Python wrapper for OpenAI's ChatGPT API
https://pypi.org/project/UnlimitedGPT/
GNU General Public License v3.0
346 stars 43 forks source link

[BUG] get no result when fetching https://chatgpt.com/api/auth/session #51

Open edwardyeung opened 3 months ago

edwardyeung commented 3 months ago

After initializing the chrome driver, the browser get no result when it fetchs this api address, I am pretty sure I get the correct token from Devtool which is "__Secure-next-auth.session-token".

from UnlimitedGPT import ChatGPT

session_token = "ey..."

chatbot = ChatGPT(
    session_token,
    conversation_id=None,
    proxy=None,
    chrome_args=None,
    disable_moderation=False,
    verbose=True,
)