Hi I am trying to write a program that scrapes a URL and if the scrape data contains a particular string do something how can i use beautiful soup to achieve this
import requests
from bs4 import BeautifulSoup
data = requests.get('https://www.google.com',verify=False)
soup= BeautifulSoup(data.string,'html.parser')
for inp in soup.find_all('input'):
if inp == "Google Search":
print ("found")
else:
print ("nothing")