Add PC post-match player pages with opt-in public OSS sync.
Generate /players/{account_id}[/{match_id}] locally after POST_GAME via OpenDota; publish to OSS only when public_share is enabled.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -24,6 +24,7 @@ TOP_PAGES: list[tuple[str, str, str]] = [
|
||||
("/rankings", "Immortal 排行", "Valve Immortal 四区 Top100。"),
|
||||
("/streamers", "主播", "精选 Dota 2 主播目录。"),
|
||||
("/matches", "明星比赛", "明星选手近期职业与国服对局。"),
|
||||
("/players", "玩家战绩", "PC 上分帝赛后生成的玩家主页与比赛详情。"),
|
||||
]
|
||||
|
||||
_TITLE_RE = re.compile(r"<title>[^<]*</title>", re.I)
|
||||
|
||||
Reference in New Issue
Block a user