Repository navigation
docs(baidu): web search lists Baidu's own cards in cards (SCR-760) - #218
Merged
Merged
Conversation
/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>
This was referenced Nov 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Documents the new
cardslist ofGET /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 whileresultsis empty.api-reference/endpoint/baidu/search.mdx): thecardsresponse field with its six fields, cards in the example response, and a section "Baidu's own cards" on what they are, whattypemeans (Baidu's own template name, an open string) and whatpositionmeans: Baidu's numbering, shared with organic results, and not the same sequence asresults[].position. A table lists the common template names.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.pypasses. The tags of the edited page balance and its example response parses as JSON. I did not runmint broken-linksor 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
cards(SCR-760) #218🤖 Generated with Claude Code