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.

Baidu that fetches web content for the yiyanClaim onlyrobots.txt:No policy

Live check

Verify an IP that claimed to be YiyanBot

No operator check exists for YiyanBot. This still shows what the address really is.

Reference

YiyanBot at a glance

Reference data for the YiyanBot crawler
User agentYiyanBot

Token only: match on the substring.

OperatorBaidu that fetches web content for the yiyan
PurposeAssistant fetchers
Respects robots.txtNo policy
Verification methodClaim onlyNone 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 at the root of your domain. Rules are per token.

Block YiyanBot
User-agent: YiyanBot
Disallow: /
Allow YiyanBot
User-agent: YiyanBot
Allow: /
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 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.

Build a file for every crawler

FAQ

YiyanBot questions

What is 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.

Does YiyanBot respect robots.txt?

Not documented. No operator statement says whether YiyanBot reads robots.txt, so add the rule but verify in your logs that the requests actually stop.

How do I verify a request really came from YiyanBot?

You cannot, at least not from the request itself. 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. Compare the source IP against hosting and datacenter ranges instead, and rate limit anything that behaves like a crawler.

How do I block YiyanBot?

Add the YiyanBot token to robots.txt with Disallow: /. If the crawler ignores robots.txt, match the user agent at your CDN or reverse proxy and return 403 there instead.

Will blocking YiyanBot hurt my search rankings?

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.

    YiyanBot (Baidu that fetches web content for the yiyan): User Agent, IP Verification & robots.txt | IPScanner