From f8d16b7c2da2fd9ff4afd168bade3f4c34016bef Mon Sep 17 00:00:00 2001 From: David Date: Mon, 28 Aug 2023 13:47:07 +0200 Subject: [PATCH] Update app.py typo brwoserless_api_key --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index f154a40b..122be8ba 100644 --- a/app.py +++ b/app.py @@ -19,7 +19,7 @@ from fastapi import FastAPI load_dotenv() -brwoserless_api_key = os.getenv("BROWSERLESS_API_KEY") +browserless_api_key = os.getenv("BROWSERLESS_API_KEY") serper_api_key = os.getenv("SERP_API_KEY") # 1. Tool for search @@ -65,7 +65,7 @@ def scrape_website(objective: str, url: str): data_json = json.dumps(data) # Send the POST request - post_url = f"https://chrome.browserless.io/content?token={brwoserless_api_key}" + post_url = f"https://chrome.browserless.io/content?token={browserless_api_key}" response = requests.post(post_url, headers=headers, data=data_json) # Check the response status code