Skip to content

docs(baidu): web search lists Baidu's own cards in cards (SCR-760) - #218

Merged
0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/scr-760-baidu-cards
Nov 30, 2026
Merged

0xGhostCasper merged 1 commit into
mainfrom
kasparasizi1/scr-760-baidu-cards

Conversation

@0xGhostCasper

@0xGhostCasper 0xGhostCasper commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

What

Documents the new cards list of GET /v1/baidu/search: Baidu's own cards on the page (Baike, its AI answer, images, goods, notes, a map, latest news ...), which for a popular term can take every place on page 1 while results is empty.

  • Search page (api-reference/endpoint/baidu/search.mdx): the cards response field with its six fields, cards in the example response, and a section "Baidu's own cards" on what they are, what type means (Baidu's own template name, an open string) and what position means: Baidu's numbering, shared with organic results, and not the same sequence as results[].position. A table lists the common template names.
  • Overview (baidu/overview.mdx): a feature bullet that links to the section.

Baidu has no OpenAPI file in this repository; both pages are editorial.

Checks

scripts/check_credit_costs.py passes. The tags of the edited page balance and its example response parses as JSON. I did not run mint broken-links or the lifecycle script locally.

When to merge

After the API change is live, since the page describes a field the API does not answer yet.

Related

🤖 Generated with Claude Code

/v1/baidu/search now answers `cards` next to `results`: Baidu's own cards on
the page (Baike, its AI answer, images, goods, notes, a map, latest news ...),
which for a popular term can take every place on page 1 while `results` is
empty (scrape-badger/scrapebadger#3658).

- Search page: the `cards` response field with its six fields, cards in the
  example response, and a section on what the cards are, what `type` and
  `position` mean (Baidu's own numbering, shared with organic results and not
  the same sequence as `results[].position`), with the common template names.
- Overview: a feature bullet.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants