Python Script
Python Script
# Replace the placeholders with your actual API Key and Custom Search
Engine ID
api_key = AIzaSyBtNVZnaTTN0dWUpVwdhviwkBLv2908clk
def check_companies(companies):
results = []
results.append({
'Company': company,
'Title': result.get('title'),
'Snippet': result.get('snippet'),
'URL': result.get('link')
})
return results
# List of companies you're interested in
search_results = check_companies(companies)
df = pd.DataFrame(search_results)
df.to_excel('company_operations_in_canada.xlsx', index=False)