### Initialize Firecrawl Client and Perform Search Source: https://docs.firecrawl.dev/features/search This example shows how to import the Firecrawl library, initialize the client, and then perform a search. It includes comments guiding the setup process. ```javascript import { Firecrawl } from 'firecrawl'; // Initialize the client with your API key const firecrawl ``` -------------------------------- ### Go Basic Example Source: https://docs.firecrawl.dev/quickstarts/go A simple Go program demonstrating how to use the Firecrawl client. This example shows basic setup and usage. ```go package main import ( "bytes" "encoding/json" "fmt" io" "net/http" os" ) func main() { apiKey := os.Getenv("FIRECRAWL_API_KEY") url := "https://api.firecrawl.dev/v0/scrape?url=https://www.google.com" req, err := http.NewRequest("GET", url, nil) if err != nil { panic(err) } req.Header.Add("Authorization", "Bearer "+apiKey) client := &http.Client{} res, err := client.Do(req) if err != nil { panic(err) } defer res.Body.Close() body, err := io.ReadAll(res.Body) if err != nil { panic(err) } fmt.Println(string(body)) } ``` -------------------------------- ### Install Firecrawl Go Client Source: https://docs.firecrawl.dev/quickstarts/go Install the Firecrawl Go client using go get. This command fetches and installs the latest version of the library. ```bash go get github.com/fire-crawl/firecrawl-go ``` -------------------------------- ### Run Brand Style Guide Generator Source: https://docs.firecrawl.dev/developer-guides/cookbooks/brand-style-guide-generator-cookbook Execute the npm start command to initiate the brand style guide generation process. Ensure the URL constant in index.ts is set to the desired website. ```bash npm start ``` -------------------------------- ### Initialize Cloudflare Project and Install Firecrawl Source: https://docs.firecrawl.dev/quickstarts/cloudflare-workers Use `npm create cloudflare` to start a new project and `npm install firecrawl` to add the library. ```bash npm create cloudflare@latest my-scraper cd my-scraper npm install firecrawl ``` -------------------------------- ### Install Firecrawl Go SDK Source: https://docs.firecrawl.dev/quickstarts/go Install the Firecrawl Go SDK using go get. This command fetches and installs the latest version of the SDK. ```bash go get github.com/firelancer/firecrawl-go ``` -------------------------------- ### Development Setup and Commands Source: https://docs.firecrawl.dev/mcp-server This snippet outlines the necessary npm commands for installing dependencies, building the project, and running tests. ```shellscript # Install dependencies npm install # Build npm run build # Run tests npm test ``` -------------------------------- ### Go Client Installation Source: https://docs.firecrawl.dev/quickstarts/go Install the Firecrawl Go client using go get. This command fetches and installs the latest version of the client library. ```go go get github.com/firecrawl/firecrawl-go ``` -------------------------------- ### Node.js: Initialize Firecrawl and Start Crawl Source: https://docs.firecrawl.dev/features/crawl This Node.js example demonstrates how to import Firecrawl, initialize it with an API key, and start a new crawl. ```javascript import { Firecrawl } from 'firecrawl'; const firecrawl = new Firecrawl({ apiKey: "fc-YOUR-API-KEY" }); const { job } = await firecrawl.crawl('https://example.com'); console.log(job); ``` -------------------------------- ### Go: Crawl with Request Options Source: https://docs.firecrawl.dev/quickstarts/go Illustrates how to use request options for crawling, such as specifying the URL and other parameters. This example is part of a larger request setup. ```go package main import ( "fmt" "os" "github.com/firecrawl/firecrawl-sdk-go/firecrawl" ) func main() { client := firecrawl.NewClient(os.Getenv("FIRECRAWL_API_KEY")) resp, err := client.Crawl("https://example.com", firecrawl.WithRequestOptions(firecrawl.RequestOptions{ Query: "firecrawl web scraping", Limit: 5, })) if err != nil { panic(err) } fmt.Println(resp) } ``` -------------------------------- ### Manual Firecrawl CLI Installation and Setup Source: https://docs.firecrawl.dev/quickstarts/openclaw Alternatively, install the Firecrawl CLI globally, initialize skills, and log in. You can skip the browser login by setting the FIRECRAWL_API_KEY environment variable. ```bash npm install -g firecrawl-cli ``` ```bash firecrawl init skills ``` ```bash firecrawl login --browser ``` ```bash export FIRECRAWL_API_KEY="fc-YOUR-API-KEY" ``` -------------------------------- ### Crawling a Website with Go Source: https://docs.firecrawl.dev/quickstarts/go This example shows how to crawl a website starting from a given URL using the Firecrawl Go client. It handles the response body and potential errors. ```go package main import ( "fmt" "log" "github.com/firelancer/firecrawl-go" ) func main() { // Initialize the Firecrawl client fc := firecrawl.NewClient("YOUR_API_KEY") // Define the starting URL for crawling startUrl := "https://example.com" // Crawl the website resp, err := fc.Crawl(startUrl) if err != nil { log.Fatalf("Failed to crawl website: %v", err) } // Process the crawl response // The response contains a list of pages found during the crawl. // For brevity, we'll just print the number of pages found. fmt.Printf("Crawled %d pages\n", len(resp.Pages)) // You can iterate through resp.Pages to access individual page data // for _, page := range resp.Pages { // fmt.Println(page.URL, page.Title) // } } ``` -------------------------------- ### Crawl a Website with Go Source: https://docs.firecrawl.dev/quickstarts/go This example shows how to crawl a website starting from a given URL using the Firecrawl Go client. You can configure crawl options like depth and wait time. ```go package main import ( "fmt" "log" "github.com/fireloli/firecrawl-go" ) func main() { client := firecrawl.NewClient("YOUR_API_KEY") // Crawl a website resp, err := client.Crawl("https://example.com", &firecrawl.CrawlOptions{ Depth: 2, Wait: 1000, }) if err != nil { log.Fatal(err) } for _, page := range resp.Data.Pages { fmt.Printf("URL: %s, Content: %s\n", page.URL, page.Content) } } ``` -------------------------------- ### Making a Default HTTP Request in Go Source: https://docs.firecrawl.dev/quickstarts/go Shows a basic example of making an HTTP request in Go using the default client. This snippet is part of a larger request setup, likely for interacting with an API. ```go resp, err := http.DefaultClient.Do(req) ``` -------------------------------- ### Installation Source: https://docs.firecrawl.dev/features/scrape Instructions for installing the Firecrawl Python library. ```APIDOC ## Installation ### Python ```bash # pip install firecrawl-py ``` ```python from firecrawl import Firecrawl firecrawl = Firecrawl( # No API key needed to get started — add one for higher rate limits: # api_key="fc-YOUR-API-KEY", ) ``` ``` -------------------------------- ### MCP Server Configuration Example Source: https://docs.firecrawl.dev/mcp-server This snippet shows a typical configuration structure for the MCP Server, defining properties like type, description, required fields, and boolean flags for external links, web search, and subdomains. It's useful for understanding the server's setup. ```json { "type": "number", "description": "type", "required": ["name", "price"], "allowExternalLinks": false, "enableWebSearch": false, "includeSubdomains" } ``` -------------------------------- ### Monitor Configuration Example Source: https://docs.firecrawl.dev/sdks/cli This example demonstrates how to configure a monitor with various options including name, goal, schedule, and notification settings. ```bash firecrawl monitor create --name "My Monitor" --goal "Detect changes in the pricing table" --cron "*/30 * * * *" --page "https://example.com/pricing" --webhook-url "https://example.com/webhook" --email "user@example.com,admin@example.com" ``` -------------------------------- ### Create Project Directory and Initialize npm Source: https://docs.firecrawl.dev/developer-guides/cookbooks/brand-style-guide-generator-cookbook Sets up a new Node.js project directory and initializes npm. This is the first step in creating the brand style guide generator. ```bash mkdir brand-style-guide-generator && cd brand-style-guide-generator npm init -y ``` -------------------------------- ### Start Development Server Source: https://docs.firecrawl.dev/developer-guides/cookbooks/ai-research-assistant-cookbook Start the development server to test the basic chat functionality before integrating Firecrawl. ```bash npm run dev ``` -------------------------------- ### Install LlamaIndex and Firecrawl Packages Source: https://docs.firecrawl.dev/developer-guides/llm-sdks-and-frameworks/llamaindex Install the necessary npm packages for LlamaIndex, OpenAI integration, and Firecrawl. This is the initial setup step for using Firecrawl with LlamaIndex. ```bash npm install llamaindex @llamaindex/openai firecrawl ``` -------------------------------- ### Initialize Firecrawl Project Source: https://docs.firecrawl.dev/quickstarts/aws-lambda Set up a new Node.js project and install the Firecrawl package. ```bash mkdir firecrawl-lambda && cd firecrawl-lambda npm init -y npm install firecrawl ``` -------------------------------- ### Node.js Firecrawl Scraping Example Source: https://docs.firecrawl.dev/features/scrape A complete Node.js example demonstrating how to import and use the Firecrawl library to scrape a webpage. It shows the basic setup for initializing Firecrawl and making a scrape request. ```javascript import { Firecrawl } from 'firecrawl' const firecrawl = new Firecrawl({ token: 'YOUR_API_KEY' }) const scrape = async () => { const url = 'https://www.google.com' const options = { // options } const result = await firecrawl.scrape(url, options) console.log(result) } scrape() ``` -------------------------------- ### cURL Search Request Source: https://docs.firecrawl.dev/features/search Example of how to perform a search using cURL. This demonstrates a basic GET request to the search endpoint. ```shell curl -X GET "https://api.firecrawl.dev/v1/search?q=complex search query&limit=10&timeout=30000" -H "accept: application/json" -H "apikey: YOUR_API_KEY" ``` -------------------------------- ### Authenticate Firecrawl CLI Source: https://docs.firecrawl.dev/features/crawl Authenticate your Firecrawl CLI installation with your API key. This is a one-time setup required for higher rate limits. ```shellscript # Authenticate (one-time setup) firecrawl login ``` -------------------------------- ### Python Scraping Example Source: https://docs.firecrawl.dev/features/scrape This snippet demonstrates how to scrape a URL and print the answer using the Firecrawl library in Python. Ensure you have the library installed. ```python from firecrawl import Firecrawl const firecrawl = new Firecrawl({ // No API key needed to get started — add one for higher rate limits: // apiKey: "fc-YOUR-API-KEY", }); const doc = await ``` -------------------------------- ### Node.js Initialization and Search Source: https://docs.firecrawl.dev/features/search This Node.js example demonstrates how to import and initialize the Firecrawl client. It then shows how to perform a search and print the URL from the results. ```javascript import { Firecrawl } from 'firecrawl'; const firecrawl = new Firecrawl({ // No API key needed to get started — add one for higher rate limits: // apiKey: ``` -------------------------------- ### Initialize Firecrawl Client in Go Source: https://docs.firecrawl.dev/quickstarts/go Demonstrates how to create a new Firecrawl client instance. Ensure you have your API key and optionally set a custom base URL. ```go type FirecrawlClient struct { APIKey string BaseURL string Client *http.Client } func NewFirecrawlClient(apiKey string) *FirecrawlClient { return &FirecrawlClient{ APIKey: apiKey, BaseURL: "https://api.firecrawl.dev", Client: &http.Client{ Timeout: time.Second * 10, }, } } ``` -------------------------------- ### JavaScript Scraping Example Source: https://docs.firecrawl.dev/features/scrape Demonstrates how to use the Firecrawl SDK in JavaScript to scrape a URL and log the markdown content. Ensure you have the SDK installed. ```javascript import { crawl } from "@firecrawl/sdk"; const result = await crawl("https://www.google.com"); console.log(result.markdown); ``` ```javascript import { crawl } from "@firecrawl/sdk"; const result = await crawl("https://www.google.com"); console.log(result.product); ``` -------------------------------- ### Node.js Scraping Example Source: https://docs.firecrawl.dev/features/scrape Demonstrates importing the Firecrawl library and using the scrape function in a Node.js environment. Ensure you have the 'firecrawl' package installed. ```javascript import { Firecrawl } from 'firecrawl'; const firecrawl = new Firecrawl({ token: 'YOUR_API_KEY' }); async function main() { const result = await firecrawl.scrape('https://firecrawl.dev', { // options }); console.log(result); } main(); ``` -------------------------------- ### Python SDK Initialization Source: https://docs.firecrawl.dev/features/interact Initialize the Firecrawl Python SDK. An API key is optional for getting started but recommended for higher rate limits. ```python from firecrawl import Firecrawl app = Firecrawl( # No API key needed to get started — add one for higher rate limits: # api_key="fc-YOUR-API-KEY", ) ``` -------------------------------- ### Check Crawl Status with JavaScript Source: https://docs.firecrawl.dev/features/crawl Use this JavaScript snippet to get the status of a crawl job by its ID. Ensure you have the Firecrawl SDK installed or imported. ```javascript import { getCrawlStatus } from "@firecrawl/javascript"; const status = await getCrawlStatus("id"); console.log(status); ``` -------------------------------- ### Development Commands Source: https://docs.firecrawl.dev/mcp-server Provides essential commands for setting up, building, and testing the project during development. ```bash # Install dependencies npm install # Build npm run build # Run tests npm test ``` -------------------------------- ### Cloud API Configuration Example Source: https://docs.firecrawl.dev/mcp-server Example of setting environment variables for cloud API usage, including API key and custom retry configurations. ```shellscript # Required for cloud API export FIRECRAWL_API_KEY=your-api-key # Optional retry configuration export FIRECRAWL_RETRY_MAX_ATTEMPTS=5 # Increase max retry attempts export FIRECRAWL_RETRY_INITIAL_DELAY=2000 ``` -------------------------------- ### JavaScript Scraping Example Source: https://docs.firecrawl.dev/features/scrape Use this JavaScript snippet to scrape a URL and extract specific information like highlights. Ensure the 'firecrawl' library is installed. ```javascript import { scrape } from "firecrawl"; const url = "https://firecrawl.dev"; const doc = await scrape(url, { formats: [{ type: 'highlights', query: 'What is Firecrawl?' }] }); console.log(doc.highlights); ``` -------------------------------- ### Search for a product and get its price Source: https://docs.firecrawl.dev/features/interact Use the interact function to search for a specific product. This example demonstrates a direct search query for a product name. ```javascript await app.interact(scrapeId, { prompt: 'Search for iPhone 16 Pro Max' }); ``` -------------------------------- ### CLI Crawl Command Source: https://docs.firecrawl.dev/features/crawl This example shows how to start a crawl job using the Firecrawl CLI. It returns a job ID upon successful initiation. ```shell # Start a crawl job (returns job ID) firecrawl crawl https://firecrawl.dev ``` -------------------------------- ### Scraping with Options in Go Source: https://docs.firecrawl.dev/quickstarts/go Demonstrates how to scrape a URL with additional options, such as specifying the output format and whether to include raw HTML. ```go package main import ( "fmt" "github.com/firecralw/firecralw-go" ) func main() { client := firecralw.NewClient("YOUR_API_KEY") resp, err := client.Scrape("https://example.com", firecralw.WithFormat("json"), firecralw.WithRawHtml(true)) if err != nil { panic(err) } fmt.Printf("%+v\n", resp) } ``` -------------------------------- ### Initialize Firecrawl in Python Source: https://docs.firecrawl.dev/features/crawl Import and initialize the Firecrawl client in Python. An API key is optional for getting started but recommended for higher rate limits. ```python from firecrawl import Firecrawl firecrawl = Firecrawl( # No API key needed to get started — add one for higher rate limits: # api_key="fc-YOUR-API-KEY", ) ``` -------------------------------- ### Go Prerequisites and Web Search Example Source: https://docs.firecrawl.dev/quickstarts/go This snippet shows the prerequisites for using Firecrawl with Go, including Go version and API key. It then demonstrates how to make a direct web search request using Go's `net/http` package. ```go package main import ( "fmt" "io" "net/http" "strings" ) func main() { url := "https://api.firecrawl.dev/v0/search?q=what+is+firecrawl" payload := strings.NewReader("") req, _ := http.NewRequest("GET", url, payload) req.Header.Add("accept", "application/json") req.Header.Add("authorization", "Bearer YOUR_API_KEY") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(res) fmt.Println(string(body)) } ``` -------------------------------- ### Rust Firecrawl Interaction Example Source: https://docs.firecrawl.dev/quickstarts/rust This snippet demonstrates how to start an interaction with Firecrawl, retrieve output, and stop the interaction. It requires a client and a scrape ID. ```rust client.start_interaction(url).await?; println!("{:?}", run.output); // Close the session client.stop_interaction(scrape_id).await?; ``` -------------------------------- ### Basic Search Query Example Source: https://docs.firecrawl.dev/features/search Demonstrates a basic search query for 'firecrawl updates' with a limit of 5 results and pretty output. ```bash firecrawl "firecrawl updates" --tbs qdr:w --limit 5 --pretty ``` -------------------------------- ### Python Search Example Source: https://docs.firecrawl.dev/features/search Import the Firecrawl client and initialize it for searching. An API key is optional for basic usage but recommended for higher rate limits. ```python from firecrawl import Firecrawl # No API key needed to get started — add one for higher rate limits: # apiKey: "fc-YOUR-API-KEY", client = Firecrawl({"apiKey": "fc-YOUR-API-KEY"}) ``` -------------------------------- ### Crawl Parameters with OpenAI Prompt Source: https://docs.firecrawl.dev/api-reference/endpoint/crawl-params-preview This example provides a prompt for OpenAI model processing. Craft your prompt carefully to guide the AI's response. ```json { "url": "https://www.example.com", "mode": "preview", "openai_prompt": "Summarize this page." } ``` -------------------------------- ### MCP Server Configuration Example Source: https://docs.firecrawl.dev/mcp-server Example JSON configuration for an MCP server, specifying server names, commands, arguments, and environment variables. ```json { "mcpServers": { "mcp-server-firecrawl": { "command": "npx", "args": [ "-y", "firecrawl-mcp" ], "env": { "NODE_ENV": "production" } } } } ``` -------------------------------- ### Monitor Command Example Source: https://docs.firecrawl.dev/sdks/cli Use the 'monitor' command to track changes on a webpage. This example sets a limit for the monitoring. ```bash firecrawl monitor --limit 10 ``` -------------------------------- ### Python Quick Start: Scrape, Interact, and Stop Source: https://docs.firecrawl.dev/features/interact This Python script demonstrates how to scrape a page, interact with the session, and then stop it. Ensure you have the Firecrawl library installed. ```python from firecrawl import Firecrawl app = Firecrawl( # No API key needed to get started — add one for higher rate limits: # api_key="fc-YOUR-API-KEY", ) ``` -------------------------------- ### Basic Firecrawl Search Source: https://docs.firecrawl.dev/sdks/cli Performs a basic search using Firecrawl and displays results in markdown format. This is a straightforward way to get started with web scraping. ```bash firecrawl search "documentation" --scrape ``` -------------------------------- ### Install and Import Firecrawl in Node.js Source: https://docs.firecrawl.dev/features/scrape Shows the installation command and subsequent import of the Firecrawl library for use in a Node.js project. Includes basic initialization. ```javascript // npm install firecrawl import { Firecrawl } from 'firecrawl'; const firecrawl = new Firecrawl(); ``` -------------------------------- ### Node.js Crawl Example Source: https://docs.firecrawl.dev/features/crawl This Node.js snippet shows how to import and use the Firecrawl library to start a crawl. Ensure you replace 'fc-YOUR-API-KEY' with your actual API key. ```javascript import { Firecrawl } from 'firecrawl'; const firecrawl = new Firecrawl({ apiKey: 'fc-YOUR-API-KEY' }); // Start a crawl and then watch it ``` -------------------------------- ### MCP Server Configuration Example Source: https://docs.firecrawl.dev/mcp-server This snippet shows a typical configuration structure for the MCP server. It includes settings for API keys, server definitions, and environment variables. ```json { "apiKey": "Firecrawl API Key", "password": true, "servers": { "firecrawl": { "command": "npx", "args": [ "-y", "firecrawl-mcp" ], "env": { } } } } ``` -------------------------------- ### Go SDK: Scraping with Options Source: https://docs.firecrawl.dev/quickstarts/go Demonstrates how to use advanced options when scraping, such as specifying the scraping mode and parsing options. ```go package main import ( "fmt" "github.com/firecral/go-sdk" ) func main() { client := firecral.NewClient("YOUR_API_KEY") // Scrape with specific options result, err := client.Scrape("https://example.com", firecral.WithMode("visual"), firecral.WithParse("html")) if err != nil { fmt.Printf("Error scraping: %v\n", err) return } fmt.Println(result.Content) } ``` -------------------------------- ### Custom Prompting with Interact Source: https://docs.firecrawl.dev/features/interact Send a custom prompt to the `interact` function to guide the AI in extracting desired information. This example shows how to ask for dashboard data. ```typescript const response = await app.interact(scrapeId2, { prompt: 'Extract the dashboard data' }); console.log(response.output); ``` -------------------------------- ### Python Parse Example Source: https://docs.firecrawl.dev/features/parse Instantiate the Firecrawl client with your API key and use the parse method to extract markdown from a local file. Ensure you have the 'firecrawl' library installed. ```python from firecrawl import Firecrawl firecrawl = Firecrawl(api_key="fc-YOUR-API-KEY") doc = firecrawl.parse("./report.pdf") print(doc.markdown) ``` -------------------------------- ### Search with Location Customization in Python Source: https://docs.firecrawl.dev/features/search Customize search results by specifying a location. No API key is needed to get started, but one is recommended for higher rate limits. ```python from firecrawl import Firecrawl firecrawl = Firecrawl( # No API key needed to get started — add one for higher rate limits: # api_key="fc-YOUR_API_KEY", ) # Search with location settings (Germany) search_result = firecrawl.search( "web scraping tools", limit=5, location="Germany" ) # Process the results for result in search_result.data: print(f"Title: {result['title']}") print(f"URL: {result['url']}") ``` -------------------------------- ### Initialize Firecrawl Client in Go Source: https://docs.firecrawl.dev/quickstarts/go Demonstrates how to initialize the Firecrawl client with API key and base URL. Ensure you have your API key and the correct base URL. ```go style: { color: "#953800", "--shiki-dark": "#4EC9B0" }, children: "FirecrawlClient" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: " {" }) ] }), "\n", _jsxs(_components.span, { className: "line", children: [ _jsx(_components.span, { style: { color: "#CF222E", "--shiki-dark": "#C586C0" }, children: "\treturn" }), _jsx(_components.span, { style: { color: "#CF222E", "--shiki-dark": "#D4D4D4" }, children: " " }), _jsx(_components.span, { style: { color: "#953800", "--shiki-dark": "#4EC9B0" }, children: "FirecrawlClient" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: "{" }) ] }), "\n", _jsxs(_components.span, { className: "line", children: [ _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#9CDCFE" }, children: "\t\tAPIKey" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: ": " }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#9CDCFE" }, children: "apiKey" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: "," }) ] }), "\n", _jsxs(_components.span, { className: "line", children: [ _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#9CDCFE" }, children: "\t\tBaseURL" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: ": " }), _jsx(_components.span, { style: { color: "#0A3069", "--shiki-dark": "#CE9178" }, children: "\"https://api.firecrawl.dev/v2\"" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: "," }) ] }), "\n", _jsxs(_components.span, { className: "line", children: [ _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#9CDCFE" }, children: "\t\tClient" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: ": " }), _jsx(_components.span, { style: { color: "#CF222E", "--shiki-dark": "#D4D4D4" }, children: "&" }), _jsx(_components.span, { style: { color: "#953800", "--shiki-dark": "#4EC9B0" }, children: "http" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: "." }), _jsx(_components.span, { style: { color: "#953800", "--shiki-dark": "#4EC9B0" }, children: "Client" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: "{", }) ] }), "\n", _jsx(_components.span, { className: "line", children: _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: "\t}" }) }), "\n", _jsx(_components.span, { className: "line", children: _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: "}" }) }), "\n", _jsx(_components.span, { className: "line" }), "\n", _jsxs(_components.span, { className: "line", children: [ _jsx(_components.span, { style: { color: "#CF222E", "--shiki-dark": "#569CD6" }, children: "func" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: " (" }), _jsx(_components.span, { style: { color: "#953800", "--shiki-dark": "#9CDCFE" }, children: "fc " }), _jsx(_components.span, { style: { color: "#CF222E", "--shiki-dark": "#D4D4D4" }, children: "*" }), _jsx(_components.span, { style: { color: "#953800", "--shiki-dark": "#4EC9B0" }, children: "FirecrawlClient" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: ") " }), _jsx(_components.span, { style: { color: "#8250DF", "--shiki-dark": "#DCDCAA" }, children: "post" }), _jsx(_components.span, { style: { color: "#1F2328", "--shiki-dark": "#D4D4D4" }, children: " " }) ] }) ] ```