This Python script allows you to securely store and retrieve an API key for Google Custom Search Engine (CSE) using encryption. It then uses the stored API key to perform a search on Google CSE and display the results.
To run this script, you need to have Python installed on your system.
-
Clone this repository to your local machine:
git clone https://github.com/B1N4RY-P4R45173/Custom-Search-Engine.git
-
Naviage to the directory:
cd Custom-Search-Engine
-
Install the required dependencies using pip:
pip install -r requirements.txt
-
Finally run the script:
python main.py
If this doesn't work please try:
python3 main.py
And if it still doesn't work please recheck if you have latest version of python
-
After cloning the repository, navigate to the project directory in your terminal.
-
Run the script using the following command:
-
Follow the instructions to enter your API key and the search term.
-
The script will perform the search using the Google CSE API and display the results.
If you would like to use this script for some other Custom Search Engine please configure the SEARCH_ENGINE_ID
variable in the main.py
file with your search engine ID.