请问一下国内有没有类似的搜索引擎的api可以用

我尝试了这个帖子dockduckgo搜索function

的热佬的方案,确实很厉害,duckduckgo搜索的相关连接也很好,可惜一定要翻墙设置代理才能打开,请问国内有没有类似的python包可以让我不翻墙也能实现搜索功能的?
谢谢

试了下,还能用,服务器在国内阿里云,用的也是 DeepSeek。

不过 DuckDuckGo 相较于 Gemini ✕ Google、PPLX、Liner 那些要逊色不少基本没怎么用就配置好放着。

这里放一个 AFF 点领取 2000万 Tokens 的 DeepSeek 2.5

谢谢大哥,好厉害,送你一个认可。
但我是在API上用的,不是next-chat这个界面上,应该怎么用这个webpilot呢?可以稍微指点一下吗,谢谢。

我没在 NextChat 外用过,你可以去官网看看 ↓,还有更多参数。

用 Python 写接口的话选择就比插件多多了,智谱清言GLM 现在就有免费的通用搜索:

返回的是标准的 JSON 在 NextChat 等客户端不好用但 Python 的话可以自己写后续处理。

这个 webpilot 我用 python 调用过,给你参考下,可以搜关键词获取简单的网站摘要,也可以给具体的网址提取完整内容

python 调用 webpilot
import requests
import json

# Define the OpenAPI server URL
API_URL = "https://gpts.webpilot.ai/api/read"
WEB_UID = "xxxx"

def search_web_content(link, keyword, language="zh-CN"):
    # Prepare the request payload
    payload = {
        "link": link,  
        "ur": keyword,  # The user's request (search query)
        "lp": True,  # Whether the link is directly provided by the user (True for now)
        "rt": False,  # Retry flag (set to False for first request)
        "l": language  # Language code (e.g., "zh-CN" for Simplified Chinese)
    }

    # Set headers for JSON request
    headers = {
        'Content-Type': 'application/json',
        'WebPilot-Friend-UID': WEB_UID
    }

    # Make the POST request to the WebPilot API
    response = requests.post(API_URL, json=payload, headers=headers)

    # Check if the request was successful
    if response.status_code == 200:
        data = response.json()  # Parse the JSON response
        # Extract and display relevant information
        print("Page Title:", data.get('title'))
        print("Page Content:", data.get('content'))
    else:
        print(f"Error: {response.status_code} - {response.text}")

# Example usage
if __name__ == "__main__":
    link = "https://www.google.com"
    keyword = "linuxdo 论坛 neo"
    search_web_content(link, keyword)

谢谢大哥分享,我试试效果tieba_002

kimi的联网搜索?

:bili_040: SearXNG Search自建