https://github.com/mustafa-kum/chatgpt-keyword-search
ChatGPT Keyword Search
https://github.com/mustafa-kum/chatgpt-keyword-search
chatgpt chatgpt-python keyword-spotting python
Last synced: 3 months ago
JSON representation
ChatGPT Keyword Search
- Host: GitHub
- URL: https://github.com/mustafa-kum/chatgpt-keyword-search
- Owner: Mustafa-Kum
- Created: 2023-01-17T14:29:47.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-17T14:33:03.000Z (over 2 years ago)
- Last Synced: 2025-01-25T22:23:27.766Z (5 months ago)
- Topics: chatgpt, chatgpt-python, keyword-spotting, python
- Language: Python
- Homepage: https://github.com/Mustafa-Kum/ChatGPT-Keyword-Search
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ChatGPT Powered
https://chat.openai.com/chat
```python
import requests
# List of websites to search
websites = ['https://example.com', 'https://example2.com']# Keyword to search for
keyword = 'python'# Search each website for the keyword
for website in websites:
try:
# Send a GET request to the website
response = requests.get(website)
# Get the response text
text = response.text
# Check if the keyword is in the response text
if keyword in text:
print(f'Keyword found on {website}')
else:
print(f'Keyword not found on {website}')
except:
print(f'Error accessing {website}')
```