Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 2.17 KB

File metadata and controls

69 lines (48 loc) · 2.17 KB

Automating ChatGPT with Python and Selenium

Abhishek Naidu | Twitter ahmadzee26@gmail.com Abhishek's LinkedIN @zeeshanahmad4 Abhishek's Discord Zee#0291 Abhishek's Discord zeeshan.ahmad400
For discussion, queries and freelance work. Do reach me.👆👆👆

Introduction

This is a Python script that uses Selenium to automate the process of chatting with ChatGPT (https://chatgpt.openai.com/). It sends a question to ChatGPT and saves the response to a text file.

Features

  • Automates the process of chatting with ChatGPT
  • Saves the response to a text file

Requirements

  • Python 3.x
  • Selenium Python library
  • Chrome webdriver

Installation

  1. Install Python 3.x (if it is not already installed)
  2. Install Selenium by running pip install selenium
  3. Download a Chrome webdriver from the Selenium website (http://www.seleniumhq.org/download/) and add it to your PATH

Usage

  1. Clone or download this repository
  2. Navigate to the repository directory in a terminal
  3. Run the script by typing python chatgpt_automation.py

Contributions

Contributions are welcome! If you have any suggestions or bug reports, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments