Search crawler

Baiduspider

Baidu's web crawler, which indexes pages for Baidu Search.

Operator
Baidu
Category
Search crawler
Label
Verified
we can confirm the operator

Documentation from Baidu

Allow or block Baiduspider

A request that really comes from Baidu is reported as a good bot. This rule allows Baiduspider by name, and an imitation does not match it.

{
  "name": "Allow Baiduspider",
  "enabled": true,
  "match": "all",
  "conditions": [
    {
      "field": "botId",
      "op": "eq",
      "value": "baiduspider"
    },
    {
      "field": "botResult",
      "op": "eq",
      "value": "good"
    }
  ],
  "action": "allow"
}

Add it in the console rule editor, or start from the rule templates.

Check a request from your server

Send the request your server received to the bot check with your secret key. The answer says whether the visitor is a good bot, a bad bot or not detected, and which entry it matched, for example Baiduspider.

curl -X POST https://api.fpchecker.com/v1/bot-check \
  -H 'X-Secret-Key: sk_...' \
  -H 'Content-Type: application/json' \
  -d '{"method":"GET","url":"https://yoursite.com/pricing","ip":"203.0.113.7","headers":{"user-agent":"..."}}'

Read the integration guide

Some entries draw on ai.robots.txt (MIT licence). ai.robots.txt on GitHub