Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Remove OpenAI API key references, use only OpenRouter API key
Devin AIb646c3e9d959
diff --git a/examples/qwen3-web-crawler/.env.example b/examples/qwen3-web-crawler/.env.exampleindex 9bac29b2e..a0de8767d 100644--- a/examples/qwen3-web-crawler/.env.example+++ b/examples/qwen3-web-crawler/.env.example@@ -1,8 +1,5 @@# Firecrawl API keyFIRECRAWL_API_KEY=your_firecrawl_api_key_here-# OpenAI API key (if using OpenAI for OpenRouter)-OPENAI_API_KEY=your_openai_api_key_here--# OpenRouter API key (alternative to OpenAI API key)+# OpenRouter API keyOPENROUTER_API_KEY=your_openrouter_api_key_herediff --git a/examples/qwen3-web-crawler/README.md b/examples/qwen3-web-crawler/README.mdindex d918908f8..1490f3ac0 100644--- a/examples/qwen3-web-crawler/README.md+++ b/examples/qwen3-web-crawler/README.md@@ -13,7 +13,7 @@ This example demonstrates how to use the Firecrawl API with the Qwen3 30B A3B mo- Python 3.7+- Firecrawl API key-- OpenRouter API key (or OpenAI API key configured for OpenRouter)+- OpenRouter API key## Setup@@ -25,7 +25,6 @@ This example demonstrates how to use the Firecrawl API with the Qwen3 30B A3B mo3. Create a `.env` file based on the `.env.example` template and add your API keys:```FIRECRAWL_API_KEY=your_firecrawl_api_key_here- OPENAI_API_KEY=your_openai_api_key_hereOPENROUTER_API_KEY=your_openrouter_api_key_here```diff --git a/examples/qwen3-web-crawler/qwen3_web_crawler.py b/examples/qwen3-web-crawler/qwen3_web_crawler.pyindex 847741ca4..dcc361614 100644--- a/examples/qwen3-web-crawler/qwen3_web_crawler.py+++ b/examples/qwen3-web-crawler/qwen3_web_crawler.py@@ -16,12 +16,11 @@ class Colors:load_dotenv()firecrawl_api_key = os.getenv("FIRECRAWL_API_KEY")-openai_api_key = os.getenv("OPENAI_API_KEY")openrouter_api_key = os.getenv("OPENROUTER_API_KEY")app = FirecrawlApp(api_key=firecrawl_api_key)client = OpenAI(- api_key=openai_api_key or openrouter_api_key,+ api_key=openrouter_api_key,base_url="https://openrouter.ai/api/v1")