Skip to content

fix(route/anthropic): match news, engineering and research lists after class rename - #23731

Closed
naplesblue wants to merge 1 commit into
DIYgod:masterfrom
naplesblue:fix/anthropic-hashed-class-names
Closed

naplesblue wants to merge 1 commit into
DIYgod:masterfrom
naplesblue:fix/anthropic-hashed-class-names

Conversation

@naplesblue

@naplesblue naplesblue commented Oct 30, 2026 •

Copy link
Copy Markdown

Involved Issue / 该 PR 相关 Issue

Close #

Example for the Proposed Route(s) / 路由地址示例

/anthropic/news
/anthropic/engineering
/anthropic/research

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

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__row became bxgyUW_row, and AssetItem-module-scss-module__article became nUeDbq_article. The list selectors no longer match anything.

Changes:

  • List rows are now selected by the data-listing-row attribute, which every row on all three listing pages carries (li on /news, article on /engineering and /research).
  • The remaining class selectors use a single-underscore suffix (_title-link, _metaTitleLink, _body, _Header, _ConstellationPanelSlot). This matches both the old Module__name and the new hash_name forms.
  • /news: article pages now share the research layout, so the header and the "Related articles" panel are removed with the same selectors that /research uses.

Tested locally against the live site:

  • /anthropic/news returns 10 items, /anthropic/engineering 20 and /anthropic/research 20, all with titles, links, dates and full content.
  • One research item, /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

…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>
@github-actions github-actions Bot added route spam Low quality PR labels Oct 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the contribution. This PR was automatically closed because it matched multiple low-quality/spam signals.

@github-actions github-actions Bot closed this Oct 30, 2026
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

route spam Low quality PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant