Assistant fetchers

YiyanBot

YiyanBot is a bot operated by Baidu that fetches web content for the yiyan that fetches single pages on demand for an AI assistant. YiyanBot is a web crawler operated by Baidu that fetches web content for the yiyan.baidu.com assistant and related ERNIE-generated answers. No IP range list or reverse-DNS convention is published, so a request carrying this user agent cannot be proven genuine and a robots.txt rule alone will not stop a forgery.

YiyanBot at a glance

Reference data for the YiyanBot crawler
User agentYiyanBot

Token only. The operator has not published a full user-agent string, so match on the substring rather than an exact header.

OperatorBaidu that fetches web content for the yiyan
PurposeAssistant fetchers
Respects robots.txtNot documented
Verification methodNone published, user agent only

No IP range file and no reverse-DNS convention have been published for this agent. The user-agent string is the only signal, and any client can send it, so treat a match as a claim rather than proof.

Crawl patternNot published
Robots.txt tokensYiyanBot
Operator documentationNone published

YiyanBot is a web crawler operated by Baidu that fetches web content for the yiyan.baidu.com assistant and related ERNIE-generated answers.

robots.txt

Allow or block YiyanBot

Paste one of these into the robots.txt file at the root of your domain. Rules are per token, so a block on one crawler leaves every other bot untouched.

Block YiyanBot
User-agent: YiyanBot
Disallow: /

Blocks every path for this crawler only.

Allow YiyanBot
User-agent: YiyanBot
Allow: /

Explicit allow. Useful when a wildcard rule above it would otherwise catch this crawler.

Allow, except the pages you never want quoted
User-agent: YiyanBot
Allow: /
Disallow: /account/
Disallow: /checkout/
Disallow: /search

Edit the Disallow paths to match your own account, checkout and search URLs.

What blocking actually costs you

Blocking YiyanBot means a person who asks about one of your URLs gets an error instead of a summary. That is a support and reputation trade-off, not a training one.

Block every crawler in the directory at once
Verification

Is that really YiyanBot?

A user-agent header is a string the client chooses. Scrapers copy YiyanBot precisely because site owners allow it. No IP range file and no reverse-DNS convention have been published for this agent. The user-agent string is the only signal, and any client can send it, so treat a match as a claim rather than proof.

Paste the IP address from your access log below. You will see whether it belongs to a hosting provider, a residential proxy pool or a Tor exit, plus the ASN that announces it, which is what tells you whether the claim holds up.

Related crawlers

Agentscan

Identify crawlers automatically instead of by hand

Agentscan checks a request against published crawler ranges, reverse DNS and hosting data, then returns a verdict your edge can act on. One call per request, no range files to keep up to date.

FAQ

YiyanBot questions

YiyanBot is a bot operated by Baidu that fetches web content for the yiyan that fetches single pages on demand for an AI assistant. YiyanBot is a web crawler operated by Baidu that fetches web content for the yiyan.baidu.com assistant and related ERNIE-generated answers. No IP range list or reverse-DNS convention is published, so a request carrying this user agent cannot be proven genuine and a robots.txt rule alone will not stop a forgery.