code-yeongyu / AiShell

AiShell: A Natural Language Shell like GitHub Copilot X, Powered by ChatGPT
MIT License
151 stars 14 forks source link

Automate Access Key parsing using browser's cookie #22

Closed code-yeongyu closed 1 year ago

code-yeongyu commented 1 year ago

some approaches like yt-dlp has,

--cookies-from-browser

to get ChatGPT access key using browser's cookie

ref: https://github.com/yt-dlp/yt-dlp/blob/b38cae49e6f4849c8ee2a774bdc3c1c647ae5f0e/yt_dlp/cookies.py#L120