Search for company logos and embed them in your projects
Search for company logos and embed them in your projects using a simple URL format.
import requests
company_domain = "google.com"
url = f"https://logo.clearbit.com/{company_domain}"
response = requests.get(url)
if response.status_code == 200:
# Save the logo image
with open(f"{company_domain}_logo.png", "wb") as f:
f.write(response.content)
print(f"Logo for {company_domain} saved.")
else:
print(f"Failed to retrieve logo for {company_domain}. Status: {response.status_code}")Last 50 checks (10 min intervals)