PerplexityBot 的 User Agent

用于在 Perplexity 搜索结果中展示并链接网站;Perplexity 表示它不用于为 AI 基础模型抓取内容。下面是它发送的原文、每一段的含义,以及如何放行或屏蔽它。

Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)

一览

类型AI 爬虫
运营方Perplexity
用途为 Perplexity 搜索建立索引
版本1.0
robots.txt 标识PerplexityBot

在 robots.txt 里放行或屏蔽

禁止 PerplexityBot 抓取全站

User-agent: PerplexityBot
Disallow: /

重新放行

User-agent: PerplexityBot
Allow: /

逐段拆解

片段含义
Mozilla/5.0历史兼容标记。几乎所有浏览器都自称 "Mozilla/5.0",以免老旧服务器返回残缺页面。
AppleWebKit/537.36WebKit 渲染引擎,构建号 537.36。Chromium 系浏览器出于兼容保留此标记。
KHTML, like Gecko兼容性说明:引擎源自 KHTML、行为类似 Gecko,为老式浏览器探测脚本保留。
compatible兼容性标记——早年由 IE 发送,如今多见于爬虫。
PerplexityBot/1.0PerplexityBot 1.0 —— 自动化爬虫/机器人,不是真实浏览器。
+https://perplexity.ai/perplexitybot爬虫运营方提供给站长的说明页地址。

在代码里使用

curl

curl -A "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)" https://example.com

Python (requests)

import requests
requests.get("https://example.com", headers={"User-Agent": "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)"})

Playwright (Node.js)

const context = await browser.newContext({ userAgent: "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)" });

来源:Perplexity Crawlers · 核对于 2026年9月

相关 User Agent

全部 User Agent →

你的浏览器发的是什么?查看我的 User Agent →