This repository contains a Python script designed to simplify querying Bard, a tool frequently used during tasks. The script allows users to effortlessly search for answers to questions by copying the text and executing the script. For improved convenience, it is recommended to set up a shortcut for running the script.
- Query Automation: Quickly search for answers to questions by copying the text and running the Python script.
- Dependency Integration: Utilizes Bard API, Pyperclip, Plyer, and Tkinter for an efficient and seamless user experience.
- Installation Guide: Step-by-step instructions on installing Python, required libraries, and setting up the environment.
- Cookie Configuration: Guidance on obtaining and inserting the necessary cookies (__Secure-1PSID and __Secure-1PSIDCC) from the Bard website.
CLOUD_VIDEO.mp4
- Install Python and required libraries.
- Set up Tkinter (usually included with Python).
- Obtain "__Secure-1PSID" and "__Secure-1PSIDCC" cookies from the Bard website.
- Insert the cookies into the Python script.
- Save and execute the script to start querying Bard effortlessly.
If Python is not installed on your system, download it from the official Python website.
Open your command prompt or terminal and use pip to install the necessary libraries:
pip install bardapi
pip install pyperclip
pip install plyer
Tkinter is a standard Python library for creating graphical user interfaces and usually comes with Python, so no separate installation is needed.
Visit the Bard website and log in with your account.
Open the developer tools (usually by pressing F12 or right-clicking and selecting "Inspect").
Go to the "Storage" tab in the developer tools.
Under "Cookies," find "__Secure-1PSID" and "__Secure-1PSIDCC" cookies. Copy their values.
Edit your Python script and replace the placeholders with the actual values of "__Secure-1PSID" and "__Secure-1PSIDCC" that you copied from the Bard website.
"__Secure-1PSID": "<YOUR_ACTUAL_SECURE_1PSID_VALUE>",
"__Secure-1PSIDCC": "<YOUR_ACTUAL_SECURE_1PSIDCC_VALUE>",
After making these changes, save your Python script.
Run your Python script. If everything is set up correctly, it should interact with Bard's services and provide the described functionality.
Feel free to contribute, report issues, or suggest improvements to enhance the functionality of this local GPT.