Repository navigation
fix(route/anthropic): match news, engineering and research lists after class rename - #23731
Closed
naplesblue wants to merge 1 commit into
Closed
naplesblue wants to merge 1 commit into
naplesblue wants to merge 1 commit into
Conversation
…r class rename anthropic.com replaced its CSS-module class names (TableView-module-scss-module__row, AssetItem-module-scss-module__article) with short hashed ones (bxgyUW_row, nUeDbq_article), so all three routes found no items and returned "this route is empty". Select list rows by the data-listing-row attribute and match the remaining class names by a single-underscore suffix, which fits both the old and new naming. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Thanks for the contribution. This PR was automatically closed because it matched multiple low-quality/spam signals. |
pseudoyu
added a commit
that referenced
this pull request
Oct 30, 2026
anthropic.com replaced its CSS module class names with short hashes (TableView-module-scss-module__row is now bxgyUW_row), so the list selector matched nothing and /anthropic/news returned "this route is empty". Select rows by the data-listing-row attribute that every row carries, and the title link by its _title-link suffix. News posts now share the research article layout, and none of the old header, share and carousel classes exist on them anymore, so strip the new page header and related-articles panel instead. Refs #23731
pseudoyu
added a commit
that referenced
this pull request
Oct 30, 2026
The engineering cards lost their AssetItem-module-scss-module__ classes in the same anthropic.com class rename, so the list was empty. Select cards by data-listing-row, and match the title link and post body by their single-underscore suffixes (_metaTitleLink, _body). Refs #23731
pseudoyu
added a commit
that referenced
this pull request
Oct 30, 2026
The research cards lost their AssetItem-module-scss-module__ classes in the same anthropic.com class rename, so the list was empty. Select cards by data-listing-row, match the title link by its _metaTitleLink suffix, and strip the page header and related-articles panel by their new _Header and _ConstellationPanelSlot suffixes. Refs #23731
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.
Involved Issue / 该 PR 相关 Issue
Close #
Example for the Proposed Route(s) / 路由地址示例
New RSS Route Checklist / 新 RSS 路由检查表
PuppeteerNote / 说明
Since about 2026-10-30, all three Anthropic routes return 503 "this route is empty". anthropic.com renamed its CSS-module classes to short hashes:
TableView-module-scss-module__rowbecamebxgyUW_row, andAssetItem-module-scss-module__articlebecamenUeDbq_article. The list selectors no longer match anything.Changes:
data-listing-rowattribute, which every row on all three listing pages carries (lion /news,articleon /engineering and /research)._title-link,_metaTitleLink,_body,_Header,_ConstellationPanelSlot). This matches both the oldModule__nameand the newhash_nameforms.Tested locally against the live site:
/institute/econ-scenarios, still has an empty description. It uses a different page layout and was already empty before this change.Engineering posts now link under
/research/.... Those are the URLs the site itself uses.🤖 Generated with Claude Code