GET OFFICIAL WEBSITE WITH COMPANY’S NAME IN PYTHON

from googlesearch import search

def company_website(cname):
query = f”{cname} official website”
res = search(query, num=1, stop=1)
return res

cname = input(“Enter company name: “)
url = get_company_website(cname)
print(f”Website URL is: {url}”)

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top