File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # ChatGPT without browser with pure Python
2+
3+ No Selenium or another testing tools. Pure Python.
4+
5+ Now performs login, handles captcha, sends message and prints ChatGPT answer.
6+
7+ ## Getting Started
8+
9+ Create the account for ChatGPT (login by email and password).
10+
11+ ### Installing
12+
13+ ```
14+ $ git clone https://github.com/akdev-tech/python-chatgpt.git
15+ $ cd python-chatgpt
16+ $ python3 -m venv env
17+ $ source env/bin/activate
18+ $ pip install -r requirements.txt
19+
20+ ```
21+
22+
23+ ### Running
24+
25+ ```
26+ $ python3 main.py -u <email> -p <password> -m "<message>"
27+ ```
28+
29+ To run in ` debug ` mode add the ` -vvv ` flag.
30+
31+ ## Known issues
32+
33+ * Occasional uncatched errors
34+
35+
36+ ### Future plans
37+
38+ 1 . Make a module package
39+ 2 . Automatic solving captchas
40+ 3 . Consider ChatGPT rate-limits
You can’t perform that action at this time.
0 commit comments