chore: rename project to clawdbot
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
name: brave-search
|
||||
description: Web search and content extraction via Brave Search API.
|
||||
homepage: https://brave.com/search/api
|
||||
metadata: {"clawdis":{"emoji":"🦁","requires":{"bins":["node"],"env":["BRAVE_API_KEY"]},"primaryEnv":"BRAVE_API_KEY"}}
|
||||
metadata: {"clawdbot":{"emoji":"🦁","requires":{"bins":["node"],"env":["BRAVE_API_KEY"]},"primaryEnv":"BRAVE_API_KEY"}}
|
||||
---
|
||||
|
||||
# Brave Search
|
||||
|
||||
@@ -7,7 +7,7 @@ function usage() {
|
||||
|
||||
export async function fetchAsMarkdown(url) {
|
||||
const resp = await fetch(url, {
|
||||
headers: { "User-Agent": "clawdis-brave-search/1.0" },
|
||||
headers: { "User-Agent": "clawdbot-brave-search/1.0" },
|
||||
});
|
||||
const html = await resp.text();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user