<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Xingyuan Charts</title>
    <description>The latest articles on DEV Community by Xingyuan Charts (@gezhongjian).</description>
    <link>https://dev.to/gezhongjian</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4232091%2F4c17653e-b329-49c9-ae9a-7c5fffe7edae.png</url>
      <title>DEV Community: Xingyuan Charts</title>
      <link>https://dev.to/gezhongjian</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gezhongjian"/>
    <language>en</language>
    <item>
      <title>178 songs were 404s: keeping a chart archive after songs leave the board</title>
      <dc:creator>Xingyuan Charts</dc:creator>
      <pubDate>Mon, 23 Nov 2026 12:30:10 +0000</pubDate>
      <link>https://dev.to/gezhongjian/178-songs-were-404s-keeping-a-chart-archive-after-songs-leave-the-board-3ofm</link>
      <guid>https://dev.to/gezhongjian/178-songs-were-404s-keeping-a-chart-archive-after-songs-leave-the-board-3ofm</guid>
      <description>&lt;p&gt;A chart page is a window. A song page is supposed to be an archive. Mix the two and you get a nasty failure mode: the song is real, people find it in search, and the page answers 404 — not because the data is wrong, but because the track dropped out of the window the site keeps.&lt;/p&gt;

&lt;p&gt;This is the story of 178 of those pages, and the flat index that fixed them. The result is live here: &lt;strong&gt;&lt;a href="https://xingyuan.beer/en?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en?src=devto&lt;/a&gt;&lt;/strong&gt; (English) and &lt;strong&gt;&lt;a href="https://xingyuan.beer/?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/?src=devto&lt;/a&gt;&lt;/strong&gt; (Chinese).&lt;/p&gt;

&lt;h2&gt;
  
  
  What the pipeline actually keeps
&lt;/h2&gt;

&lt;p&gt;Twice a day I take a read-only snapshot of 19 public Chinese music charts — NetEase Cloud Music, QQ Music, Kugou, Kuwo, Qishui, Douyin, Weibo, Bilibili, Apple Music. Each board is stored at its published depth (100 rows for most of them), so a full snapshot is about 1,700 rows.&lt;/p&gt;

&lt;p&gt;Everything on the site is derived from that snapshot: rank deltas, "new this period", weekly movers, and one page per song. The song page is the part people link to and search for. For example, an archived one: &lt;strong&gt;&lt;a href="https://xingyuan.beer/en/song/prettygirl%7Crescene?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en/song/prettygirl%7Crescene?src=devto&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;For a long time the song page was derived from the same snapshot too. That works until the song leaves the chart.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a window is not an archive
&lt;/h2&gt;

&lt;p&gt;The board history keeps the last 14 periods — two snapshots a day, so one week. Across the boards that window holds 22,772 filled rank cells (4,277 distinct song keys, board by board); coverage grew from 2 to 19 boards during these periods, so the early ones are thinner. That is enough for "what moved this week", and it is not remotely enough for "every song we ever saw" in the 51 snapshots collected so far.&lt;/p&gt;

&lt;p&gt;The gap showed up in two places:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The board history pages (&lt;code&gt;/board/&amp;lt;platform&amp;gt;/&amp;lt;board&amp;gt;/history&lt;/code&gt;) draw a row per song per period and link each row to &lt;code&gt;/song/&amp;lt;key&amp;gt;&lt;/code&gt;. When I first built them, 1,653 linked rows produced 979 404s — songs that charted earlier in the week and were not in the latest snapshot.&lt;/li&gt;
&lt;li&gt;Sitemaps and old search results kept pointing at song keys that had no current row at all.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;None of those keys were fake. They were songs that had been in the top 100, dropped out, and left nothing behind.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three attempts, each with a smaller hole
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Attempt 1 — per-period summaries.&lt;/strong&gt; The trends archive stores four lists per snapshot: biggest risers, sustained climbers, new entries, cross-platform resonance. Those rows can be replayed as a minimal song page, so a song that left the chart but hit "biggest riser" once still gets a page.&lt;/p&gt;

&lt;p&gt;It fixed the head of the distribution and nothing else. A song that entered at #95 and left two periods later never made any of the four lists.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Attempt 2 — the full board window.&lt;/strong&gt; Store the whole top 100 per board per period instead of summaries. That is 249 board-periods and 22,772 filled rank cells from the same window. It covers everything that was on a board during the retained week, and it still misses songs that fell out earlier or only ever appeared briefly below the stored depth.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Attempt 3 — a flat index.&lt;/strong&gt; One row per song key, forever:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"prettygirl|rescene"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"Pretty Girl"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"artists"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"RESCENE (리센느)"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"platform"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"qq"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"board"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"62"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"board_name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"飙升榜"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"last_seen"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"2026-11-06T09:40:02+08:00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"last_rank"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"best_rank"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;30&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"appearances"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"platforms"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That is the whole row. No per-period ranks, no per-platform entries, no trajectory — those live in the board history. The index answers one question: &lt;em&gt;did we ever see this song, and when was the last time?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;At this snapshot it holds 4,628 song keys. 4,194 of them were seen in more than one snapshot; the busiest has 309 board-rows across all 51 snapshots, on 6 platforms. The file is a single static JSON asset, loaded once and cached by mtime, so a lookup is a dict access:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;find_evergreen_song&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;songs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"songs"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="n"&gt;row&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;songs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="nb"&gt;next&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;
        &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;v&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;songs&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;items&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;casefold&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;key&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;casefold&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="kc"&gt;None&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"entries"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s2"&gt;"platform"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"platform"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"rank"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"last_rank"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                     &lt;span class="s2"&gt;"captured_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"last_seen"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"best_rank"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"best_rank"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"archived_at"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"last_seen"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="s2"&gt;"archived_section"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"full index · %d appearances"&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"appearances"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The rule that matters more than the index
&lt;/h2&gt;

&lt;p&gt;The fallback chain is ordered: current snapshot → per-period summaries → board window → full index. The last three all replay &lt;em&gt;exactly one&lt;/em&gt; appearance — the most recent one — and every one of them labels itself as an archive.&lt;/p&gt;

&lt;p&gt;This is deliberate. It is tempting to build a richer page by combining the last rank from period A with the best rank from period B. Don't. Those ranks were observed at different times; putting them in one table invents a track record that never existed at any single moment. The archived page says, in both languages, "this track is not on any chart in the latest snapshot; the table below replays the last snapshot where it charted", shows the timestamp, and links to the current movers.&lt;/p&gt;

&lt;p&gt;The same rule applies to the data file: the page exposes &lt;code&gt;archived_at&lt;/code&gt;, so anything downstream can tell an archived rank from a live one instead of guessing from the number.&lt;/p&gt;

&lt;p&gt;After shipping it on 2026-11-11, I re-tested 192 known-dead keys. 178 of them were real songs and now return 200 with the archive label. The other 14 stay 404 on purpose: 9 were delisted before collection started, so there is no snapshot to replay, and 5 were probe keys that never existed. A fake archive is worse than an honest 404.&lt;/p&gt;

&lt;h2&gt;
  
  
  The identity trap underneath
&lt;/h2&gt;

&lt;p&gt;All of this assumes "the same song" is a stable identity. It is not.&lt;/p&gt;

&lt;p&gt;Rows are matched across platforms by a normalized key: title plus sorted artists, with brackets and &lt;code&gt;feat.&lt;/code&gt; tails stripped. That is what makes "one song on 6 of 9 platforms" computable at all, since the platforms share no IDs. It also merges &lt;code&gt;晴天&lt;/code&gt;, &lt;code&gt;晴天 (Live)&lt;/code&gt; and &lt;code&gt;晴天（剪辑版）&lt;/code&gt; into one key — on purpose, because a reader searching the song wants one page.&lt;/p&gt;

&lt;p&gt;Then a platform does something the key cannot express: it charts a duet version and an original as two different tracks with two different platform IDs, under the same title and artist. The key says they are one song, and a naive rank delta says the song jumped 71 places overnight. It did not. That was one recording leaving the chart and another entering it.&lt;/p&gt;

&lt;p&gt;The fix is to version the identity used for trajectories and deltas:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;identity&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"track_id"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"track_id"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="n"&gt;row&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"dedupe_key"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use the platform's &lt;code&gt;track_id&lt;/code&gt; when it exists; fall back to the text key only when it is missing. The dedupe key still decides which &lt;em&gt;page&lt;/em&gt; a row belongs to. It just no longer decides what "previous rank" means.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would do differently
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Treat the chart window as a cache, not a database. Decide up front what "we have seen this before" means, and store that separately from "what is on the chart now".&lt;/li&gt;
&lt;li&gt;Make the fallback chain explicit and ordered, and make every level label itself. Readers forgive an archived page; they do not forgive an archived rank presented as current.&lt;/li&gt;
&lt;li&gt;Never splice observations from different snapshots to make a nicer page.&lt;/li&gt;
&lt;li&gt;Version your identity before you compute deltas. A normalized key is good for grouping pages and terrible for "up 71 this week".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The index is not clever and that is the point: one row per song, one fallback at the end of the chain, a file small enough to ship as a static asset. It turned 178 dead pages into honest archives without inventing a single number.&lt;/p&gt;

&lt;p&gt;If you want to see the shape of the data — current charts, weekly movers, and the archived pages at the edges — it is all read-only here: &lt;strong&gt;&lt;a href="https://xingyuan.beer/en/trends?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en/trends?src=devto&lt;/a&gt;&lt;/strong&gt;. The methodology page is at &lt;strong&gt;&lt;a href="https://xingyuan.beer/en/data?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en/data?src=devto&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

</description>
      <category>python</category>
      <category>webdev</category>
      <category>data</category>
      <category>showdev</category>
    </item>
    <item>
      <title>One week of Chinese charts: 190 in, 194 out, best climb +34</title>
      <dc:creator>Xingyuan Charts</dc:creator>
      <pubDate>Mon, 16 Nov 2026 02:05:30 +0000</pubDate>
      <link>https://dev.to/gezhongjian/one-week-of-chinese-charts-190-in-194-out-best-climb-34-5b6a</link>
      <guid>https://dev.to/gezhongjian/one-week-of-chinese-charts-190-in-194-out-best-climb-34-5b6a</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;Live data, read-only, no signup: &lt;strong&gt;&lt;a href="https://xingyuan.beer/en?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en?src=devto&lt;/a&gt;&lt;/strong&gt; — the boards, rank deltas and weekly diffs.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  The week in numbers
&lt;/h2&gt;

&lt;p&gt;Between &lt;strong&gt;2026-11-09 09:40 UTC+8&lt;/strong&gt; and &lt;strong&gt;2026-11-16 09:40 UTC+8&lt;/strong&gt; (7.0 days, 9 platforms), the &lt;strong&gt;12 boards that were live on both days&lt;/strong&gt; (of 18 live now) held &lt;strong&gt;432 unique tracks&lt;/strong&gt; at the start of the week and &lt;strong&gt;428&lt;/strong&gt; at the end.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;190 tracks arrived&lt;/strong&gt; during the week (44% of this week's list was not on the boards at the start).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;194 tracks left&lt;/strong&gt; (45% of last week's list is gone).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best single-week climb: +34 spots&lt;/strong&gt; ("5th", NetEase Rising #13).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;24 tracks on three or more platforms&lt;/strong&gt; at the end of the week, versus 24 at the start.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;560 rows&lt;/strong&gt; across the same 12 boards after truncating both ends to the depth both days had; every number here is computed from those rows, not estimated.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;10 boards got deeper during the week&lt;/strong&gt; (Kuwo Hot Songs 20 → 100 ranks; 9 more boards also got deeper): counts stop at the depth both days had, so extra captured rows are not counted as arrivals.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;6 boards excluded&lt;/strong&gt; (Kugou New Songs, NetEase New Songs, QQ Music New Songs, Qishui New Songs, Kuwo New Songs, Kuwo Rising): they went live during the week, so counting them would turn new coverage into fake arrivals.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Biggest climbs of the week
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Track&lt;/th&gt;
&lt;th&gt;Artist&lt;/th&gt;
&lt;th&gt;Now&lt;/th&gt;
&lt;th&gt;A week ago&lt;/th&gt;
&lt;th&gt;Change&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;5th&lt;/td&gt;
&lt;td&gt;石衍恺&lt;/td&gt;
&lt;td&gt;NetEase Rising #13&lt;/td&gt;
&lt;td&gt;#47&lt;/td&gt;
&lt;td&gt;+34&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;烂奇迹(不小心惹了上帝)&lt;/td&gt;
&lt;td&gt;杨羊烊&lt;/td&gt;
&lt;td&gt;Kugou Top 500 #4&lt;/td&gt;
&lt;td&gt;#34&lt;/td&gt;
&lt;td&gt;+30&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;唯一&lt;/td&gt;
&lt;td&gt;邓紫棋&lt;/td&gt;
&lt;td&gt;Apple Music Top Songs #26&lt;/td&gt;
&lt;td&gt;#50&lt;/td&gt;
&lt;td&gt;+24&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Call your name (Gv)&lt;/td&gt;
&lt;td&gt;澤野弘之 (さわの ひろゆき), R!N, Gemie&lt;/td&gt;
&lt;td&gt;QQ Music Hot Songs #24&lt;/td&gt;
&lt;td&gt;#45&lt;/td&gt;
&lt;td&gt;+21&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;演员&lt;/td&gt;
&lt;td&gt;薛之谦&lt;/td&gt;
&lt;td&gt;QQ Music Rising #17&lt;/td&gt;
&lt;td&gt;#38&lt;/td&gt;
&lt;td&gt;+21&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Both columns are the same board: a climb is this week's rank minus last week's on that board, not a best-across-boards comparison and not a stream count.&lt;/p&gt;

&lt;p&gt;These are the 5 largest of the 94 tracks that climbed on at least one board this week.&lt;/p&gt;

&lt;h2&gt;
  
  
  Tracks that reached more platforms
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Platform count went up for 12 tracks&lt;/strong&gt; this week; these are the 5 biggest moves.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;"慌啥子嘛" by 村口吴老二&lt;/strong&gt;: 2 → 4 platforms (best now Kugou Top 500 #2).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"玻璃" by Gareth.T&lt;/strong&gt;: 3 → 4 platforms (best now NetEase Hot Songs #11).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"季候风" by 王菲&lt;/strong&gt;: 2 → 3 platforms (best now Apple Music Top Songs #22).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"山风山风等等我" by 万海东&lt;/strong&gt;: 1 → 2 platforms (best now Kuwo Hot Songs #2).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"趁早" by 张惠妹&lt;/strong&gt;: 1 → 2 platforms (best now NetEase Rising #8).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Wider reach is the cross-platform signal worth watching: a track that only charts on one platform is one platform's editorial pick, not a cross-platform run.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which boards actually held
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Board&lt;/th&gt;
&lt;th&gt;Ranks now&lt;/th&gt;
&lt;th&gt;Compared&lt;/th&gt;
&lt;th&gt;Kept&lt;/th&gt;
&lt;th&gt;Held&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Bilibili Music&lt;/td&gt;
&lt;td&gt;97&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;100%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NetEase Hot Songs&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;46&lt;/td&gt;
&lt;td&gt;92%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Apple Music Top Songs&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;45&lt;/td&gt;
&lt;td&gt;90%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;QQ Music Hot Songs&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;44&lt;/td&gt;
&lt;td&gt;88%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Qishui Hot Songs&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;42&lt;/td&gt;
&lt;td&gt;84%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kuwo Hot Songs&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;td&gt;80%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kugou Top 500&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;35&lt;/td&gt;
&lt;td&gt;70%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Weibo Music&lt;/td&gt;
&lt;td&gt;79&lt;/td&gt;
&lt;td&gt;40&lt;/td&gt;
&lt;td&gt;17&lt;/td&gt;
&lt;td&gt;42%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;QQ Music Rising&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;15&lt;/td&gt;
&lt;td&gt;30%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NetEase Rising&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;49&lt;/td&gt;
&lt;td&gt;8&lt;/td&gt;
&lt;td&gt;16%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Douyin Challenge&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;14%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kugou Rising&lt;/td&gt;
&lt;td&gt;100&lt;/td&gt;
&lt;td&gt;50&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0%&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;code&gt;Ranks now&lt;/code&gt; is what the board holds today; &lt;code&gt;Compared&lt;/code&gt; is the depth both days read and &lt;code&gt;Kept&lt;/code&gt; is how many of those tracks were already listed a week ago — a board that grew from 11 to 97 ranks is compared at 11, so the extra rows are not counted as arrivals.&lt;/p&gt;

&lt;p&gt;"New entry" is not one event: a track appearing on a rising chart or a fan-driven chart is not the same signal as one entering QQ Music's hot songs. The spread above is why I read the two differently.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this measures, and what it does not
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Endpoints only.&lt;/strong&gt; I compare the two snapshots above, so a track that arrived and dropped off inside the week is counted in neither column. "Arrived" and "left" describe the two ends, not every event in between.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A cross-platform count is a lower bound.&lt;/strong&gt; These charts share no track ID; keys are normalized titles plus sorted artists. A miss undercounts, a wrong merge overcounts, and a wrong merge poisons every number downstream.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rank is not popularity.&lt;/strong&gt; A +40 climb on a 20-slot board can mean less than +10 on a 500-slot board. Rankings are read as published, not weighted.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What you can check
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://xingyuan.beer/charts.json" rel="noopener noreferrer"&gt;https://xingyuan.beer/charts.json&lt;/a&gt; — the same boards as JSON (rank, delta, streak, &lt;code&gt;key_version&lt;/code&gt;) on each snapshot.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://xingyuan.beer/key-golden.json" rel="noopener noreferrer"&gt;https://xingyuan.beer/key-golden.json&lt;/a&gt; — the key contract and the merges I deliberately refuse.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://xingyuan.beer/reports?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/reports?src=devto&lt;/a&gt; — the weekly report built from the same snapshots.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://xingyuan.beer/en?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en?src=devto&lt;/a&gt; — the human view, read-only, no signup.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Method
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Public chart pages are read twice a day (09:40 / 21:40 China time), read-only, no login, no scraping evasion.&lt;/li&gt;
&lt;li&gt;Window: 2026-11-09 09:40 UTC+8 → 2026-11-16 09:40 UTC+8. Public chart data only; no stream forecasts or campaign advice. Posted by an automated account; charts use different methodologies.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>data</category>
      <category>python</category>
      <category>api</category>
      <category>showdev</category>
    </item>
    <item>
      <title>Same song, nine charts: deduplicating Chinese music rankings without shared IDs</title>
      <dc:creator>Xingyuan Charts</dc:creator>
      <pubDate>Mon, 09 Nov 2026 12:41:55 +0000</pubDate>
      <link>https://dev.to/gezhongjian/same-song-nine-charts-deduplicating-chinese-music-rankings-without-shared-ids-4keg</link>
      <guid>https://dev.to/gezhongjian/same-song-nine-charts-deduplicating-chinese-music-rankings-without-shared-ids-4keg</guid>
      <description>&lt;p&gt;Twelve public Chinese-music charts, nine platforms, two snapshots a day: roughly 570 rows every 12 hours, and &lt;strong&gt;no shared track ID anywhere&lt;/strong&gt; — the three TME properties have separate namespaces, and asking one for the other's ID silently returns a different song. So "this song is on 6 of 9 platforms" is not a join. It is a text decision, and every number downstream inherits whatever that decision got wrong.&lt;/p&gt;

&lt;p&gt;Live output, if you want to look at the result before the code: &lt;strong&gt;&lt;a href="https://xingyuan.beer/en?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en?src=devto&lt;/a&gt;&lt;/strong&gt; (charts, rank deltas, weekly diffs — read-only, no signup).&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem: nine charts, zero shared IDs
&lt;/h2&gt;

&lt;p&gt;Twice a day I take a read-only snapshot of 12 public music charts across 9 platforms that publish Chinese-music charts — NetEase Cloud Music, QQ Music, Kugou, Kuwo, Qishui, Douyin, Weibo, Bilibili and Apple Music. That is roughly 570 rows per snapshot. The interesting part is not fetching the pages. It is deciding when two rows are the same song.&lt;/p&gt;

&lt;p&gt;There is no track ID shared across all nine. The three TME properties (QQ Music, Kugou, Kuwo) have completely separate namespaces; asking one for the other's ID silently returns a different song. So "this track is on 6 of 9 platforms" has to be computed from text, not from identifiers.&lt;/p&gt;

&lt;p&gt;The text is messy in predictable ways:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;晴天&lt;/code&gt;, &lt;code&gt;晴天 (Live)&lt;/code&gt;, &lt;code&gt;晴天（剪辑版）&lt;/code&gt; — handled by the key below&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;晴天 - Live&lt;/code&gt; — &lt;em&gt;not&lt;/em&gt; handled: it becomes &lt;code&gt;晴天live&lt;/code&gt;, a known gap&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;七里香 feat. 杨瑞代&lt;/code&gt; vs &lt;code&gt;七里香&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;A/B&lt;/code&gt; vs &lt;code&gt;A、B&lt;/code&gt; vs &lt;code&gt;A &amp;amp; B&lt;/code&gt; for the same collaboration&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;@someone创作的原声&lt;/code&gt; — a Douyin sound title that is not a song title at all&lt;/li&gt;
&lt;li&gt;Chinese and English artist aliases: &lt;code&gt;周杰伦&lt;/code&gt; vs &lt;code&gt;Jay Chou&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted the daily pipeline to be deterministic and auditable, not "the model thinks these are the same". Here is what I ended up with.&lt;/p&gt;

&lt;h2&gt;
  
  
  Layer 1: one normalized key per track
&lt;/h2&gt;

&lt;p&gt;The key is &lt;code&gt;normalized title | sorted, normalized artists&lt;/code&gt;. Normalization is deliberately boring:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;unicodedata&lt;/span&gt;

&lt;span class="n"&gt;_BRACKETS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;compile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s2"&gt;"[\(\（\[\【].*?[\)\）\]\】]"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;_FEAT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;compile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s2"&gt;"\b(?:feat|ft|featuring)\.?\s+.*$"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;IGNORECASE&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;_NON_WORD&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;re&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;compile&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="s2"&gt;"[^0-9a-z\u4e00-\u9fff]+"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;normalize_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;value&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;unicodedata&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;normalize&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"NFKC"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;value&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;casefold&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;_BRACKETS&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sub&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;" "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# drop "(Live)", "（剪辑版）", "【...】"&lt;/span&gt;
    &lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;_FEAT&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sub&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;" "&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;       &lt;span class="c1"&gt;# drop "feat. X" tails&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;_NON_WORD&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;sub&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;""&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;s&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# keep ASCII alnum + CJK only&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;dedupe_key&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;artists&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kt"&gt;list&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;-&amp;gt;&lt;/span&gt; &lt;span class="kt"&gt;str&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;normalize_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"/"&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;join&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nf"&gt;normalize_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="n"&gt;artists&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nf"&gt;normalize_text&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;f&lt;/span&gt;&lt;span class="s2"&gt;"{n}|{a}"&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;n&lt;/span&gt; &lt;span class="ow"&gt;or&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="s2"&gt;""&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;So &lt;code&gt;晴天 (Live)&lt;/code&gt; / &lt;code&gt;周杰伦&lt;/code&gt; and &lt;code&gt;晴天&lt;/code&gt; / &lt;code&gt;周杰伦&lt;/code&gt; collapse to &lt;code&gt;晴天|周杰伦&lt;/code&gt;. The same title by a different artist does not: the artist set is part of the key, which keeps covers apart without any extra rules.&lt;/p&gt;

&lt;p&gt;Two deliberate trade-offs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Brackets are dropped wholesale.&lt;/strong&gt; That merges a live version with the studio version, which is technically wrong. For chart aggregation it is usually the right call — charts treat them as one song — and the raw platform rows are still stored, so nothing is lost for audit. It also means &lt;code&gt;(电视剧《…》主题曲)&lt;/code&gt; disappears, which is fine for identity and bad for display. Display uses the raw title, not the key.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Artist aliases are not merged.&lt;/strong&gt; &lt;code&gt;周杰伦&lt;/code&gt; and &lt;code&gt;Jay Chou&lt;/code&gt; produce different keys, so a track can split into two identities. That undercounts cross-platform presence, but it never invents a merge. Under-counting is recoverable; a wrong merge poisons every downstream number.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Layer 2: fuzzy matching, kept offline
&lt;/h2&gt;

&lt;p&gt;There is a second scoring function in the repo for the cases the exact key cannot handle: name similarity (0.45), artist Jaccard overlap (0.30), duration closeness (0.20), album equality (0.05), with weights renormalized when a field is missing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;score&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;name_sim&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;SequenceMatcher&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;None&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;norm_name&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;norm_name&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"name"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;ratio&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;art_sim&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;jaccard&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nf"&gt;norm_artists&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"artists"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nf"&gt;norm_artists&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"artists"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;dur_sim&lt;/span&gt;  &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;1.0&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="nb"&gt;abs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
    &lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.45&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;name_sim&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mf"&gt;0.30&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;art_sim&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mf"&gt;0.20&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;dur_sim&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mf"&gt;0.05&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;album_eq&lt;/span&gt;
    &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="nb"&gt;abs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"duration"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;20&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;min&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;total&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mf"&gt;0.55&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;   &lt;span class="c1"&gt;# original vs 65s edit are different recordings&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;total&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The 20-second cap matters: a 269-second original and a 65-second clip can share a title and an artist, and should never be merged.&lt;/p&gt;

&lt;p&gt;But this scorer is &lt;strong&gt;not&lt;/strong&gt; in the daily path. Two reasons. First, 570 rows is small enough for pairwise comparison, but threshold tuning on Chinese titles is fragile: one bad threshold merges five different &lt;code&gt;泪海&lt;/code&gt; recordings, and once you have written metrics against that merge, unwinding it is real work. Second, determinism. Exact keys can be recomputed from the raw rows by anyone; a fuzzy score with a tuned threshold is an opinion. The fuzzy matcher stays offline, used to review alias candidates before adding a manual mapping.&lt;/p&gt;

&lt;p&gt;If you want the output rather than the machinery: the English charts view is &lt;a href="https://xingyuan.beer/en?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en?src=devto&lt;/a&gt; and the raw weekly diff samples are &lt;a href="https://xingyuan.beer/reports?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/reports?src=devto&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Snapshot diffing without an event table
&lt;/h2&gt;

&lt;p&gt;Storage is SQLite. One row per &lt;code&gt;(platform, board, captured_at, rank)&lt;/code&gt;, with an idempotent upsert:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;INSERT&lt;/span&gt; &lt;span class="k"&gt;INTO&lt;/span&gt; &lt;span class="n"&gt;charts&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;platform&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;board&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;captured_at&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;rank&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;artists&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dedupe_key&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;VALUES&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;ON&lt;/span&gt; &lt;span class="k"&gt;CONFLICT&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;platform&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;board&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;captured_at&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nb"&gt;rank&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;DO&lt;/span&gt; &lt;span class="k"&gt;UPDATE&lt;/span&gt; &lt;span class="k"&gt;SET&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The metrics are derived per snapshot, not appended as events: &lt;code&gt;rank_delta = prev_rank - rank&lt;/code&gt;, &lt;code&gt;is_new = 1&lt;/code&gt; when the key was absent from the previous snapshot, &lt;code&gt;cross_platform =&lt;/code&gt; the number of distinct platforms carrying that key in the same snapshot. Because they are derived, recomputing a snapshot is safe and a parser fix can be replayed.&lt;/p&gt;

&lt;p&gt;The one thing that must be stable is &lt;code&gt;captured_at&lt;/code&gt;. All boards in a batch share it, because deltas are computed &lt;em&gt;between&lt;/em&gt; snapshots. If one board fails and the next run starts a new batch with a fresh timestamp, you get a partial snapshot whose deltas are wrong in a way that looks plausible. So a batch is explicit state: which boards are in, which failed, and what the shared timestamp is. An unfinished batch resumes with the same &lt;code&gt;captured_at&lt;/code&gt; for up to six hours; after that it is too stale to be useful and a new batch starts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fetching: throttle, classify, and don't fight back
&lt;/h2&gt;

&lt;p&gt;The HTTP layer is per platform: a 0.35s minimum gap per host, two retries with exponential backoff and jitter. The important part is classification:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;429&lt;/code&gt; → rate limited, do not retry; set a cooldown for that board.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;401 / 403 / 412&lt;/code&gt; → blocked, do not retry. (Bilibili in particular uses 412 for risk control.)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;5xx&lt;/code&gt; → server, retry with backoff.&lt;/li&gt;
&lt;li&gt;network errors → retry.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Retrying a risk-control response just gets you blocked harder. Cooldowns live in a state file next to the database, so a restart does not forget that a board asked us to go away for a while.&lt;/p&gt;

&lt;p&gt;There is also a publication gate: a weekly diff is only generated when the last scheduled slot is complete. A partial batch is not "mostly fine" — it silently drops a board, and a diff that quietly lost Weibo is worse than a diff that is a few hours late.&lt;/p&gt;

&lt;h2&gt;
  
  
  Things that actually bit me
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Douyin's board is a challenge-word board, not a song chart.&lt;/strong&gt; Entries are tags people use in videos. Most are song titles, some are memes, and &lt;code&gt;@user创作的原声&lt;/code&gt; is not a title at all. Cross-platform matching for Douyin is therefore approximate by construction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Weibo's music board is aggregated from posts&lt;/strong&gt;, not an official label chart. It is comparable as "what people post about", not as "what is charting".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;"New" means new since the previous snapshot&lt;/strong&gt;, which is 12 hours earlier, not "new release". I had to rename the column in my own head before the UI stopped lying.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Artist splitting is per adapter, and not uniform.&lt;/strong&gt; Some adapters split &lt;code&gt;A/B&lt;/code&gt; or &lt;code&gt;A、B&lt;/code&gt; into a list; Apple returns &lt;code&gt;周杰伦 &amp;amp; 五月天 阿信&lt;/code&gt; as a single string. Identical collaborations can therefore land on different keys. A shared splitter is on the list; until then the key is deliberately conservative. Also, &lt;code&gt;A feat. B&lt;/code&gt; normalizes to just &lt;code&gt;A&lt;/code&gt; — the same regex that merges live/studio variants eats the feature credit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Time zones.&lt;/strong&gt; Slots are 09:40 and 21:40 China time. A delta is 12 hours, not a day. Any "daily" statement has to say which two snapshots it compares.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What I would do next
&lt;/h2&gt;

&lt;p&gt;The honest answer is that text normalization has a ceiling. Artist aliases need a curated map (there is no string metric that knows &lt;code&gt;周杰伦&lt;/code&gt; is &lt;code&gt;Jay Chou&lt;/code&gt;). The robust way to confirm "same recording" is audio fingerprinting — chroma/MFCC features plus DTW — which exists in the repo as an offline tool but is far too heavy to run on every row of every snapshot. A cheaper next step is a small alias table plus a review queue for new high-cross-platform keys.&lt;/p&gt;

&lt;p&gt;For now, the deterministic key handles the bulk of it, the fuzzy scorer stays where it cannot poison aggregates, and every number on the site is traceable back to raw rows and a snapshot timestamp.&lt;/p&gt;

&lt;p&gt;If you want to see the output: the English landing page is at &lt;a href="https://xingyuan.beer/en?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en?src=devto&lt;/a&gt;, the public Chinese dashboard is &lt;a href="https://xingyuan.beer/trends?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/trends?src=devto&lt;/a&gt;, and there are weekly diff samples at &lt;a href="https://xingyuan.beer/reports?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/reports?src=devto&lt;/a&gt;. All chart data is public; the code is not open source, but the methodology is documented at &lt;a href="https://xingyuan.beer/data?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/data?src=devto&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Charts use different methodologies; rank changes are not sales, streams or revenue. Disclosure: collection runs as a scheduled job, and this write-up was assembled with AI assistance from the running code and real snapshots.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>data</category>
      <category>api</category>
      <category>showdev</category>
    </item>
    <item>
      <title>C-Pop Chart Watch | 11.07 PM: Tianlong Babu Zhi Sudi spans 6 platforms, Qimiao Zai Shenbian climbs 38 spots</title>
      <dc:creator>Xingyuan Charts</dc:creator>
      <pubDate>Sat, 07 Nov 2026 17:10:49 +0000</pubDate>
      <link>https://dev.to/gezhongjian/c-pop-chart-watch-1107-pm-tian-long-ba-bu-zhi-su-di-spans-6-platforms-qi-miao-zai-shen-bian-climbs-38-spots-1771</link>
      <guid>https://dev.to/gezhongjian/c-pop-chart-watch-1107-pm-tian-long-ba-bu-zhi-su-di-spans-6-platforms-qi-miao-zai-shen-bian-climbs-38-spots-1771</guid>
      <description>&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;p&gt;In this snapshot, &lt;strong&gt;"天龙八部之宿敌" by 许嵩&lt;/strong&gt;, &lt;strong&gt;"我不难过" by 孙燕姿&lt;/strong&gt;, &lt;strong&gt;"雨爱" by 杨丞琳&lt;/strong&gt; appeared on &lt;strong&gt;6 of the 9&lt;/strong&gt; Chinese platforms we track. Cross-platform presence is a stronger signal than a single-chart rank.&lt;/p&gt;

&lt;h2&gt;
  
  
  The data (2026-11-07 21:40 UTC+8)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Track&lt;/th&gt;
&lt;th&gt;Artist&lt;/th&gt;
&lt;th&gt;Platforms&lt;/th&gt;
&lt;th&gt;Best rank&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;天龙八部之宿敌&lt;/td&gt;
&lt;td&gt;许嵩&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;QQ Music Hot Songs #1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;我不难过&lt;/td&gt;
&lt;td&gt;孙燕姿&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;NetEase Hot Songs #2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;雨爱&lt;/td&gt;
&lt;td&gt;杨丞琳&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;QQ Music Hot Songs #11&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;我好像在哪见过你&lt;/td&gt;
&lt;td&gt;薛之谦&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Qishui Hot Songs #1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;甲乙丙丁 (你我怎么两清)&lt;/td&gt;
&lt;td&gt;李佳薇&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;Kuwo Hot Songs #4&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Risers and new entries
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Track — Artist&lt;/th&gt;
&lt;th&gt;Platform / chart&lt;/th&gt;
&lt;th&gt;Change&lt;/th&gt;
&lt;th&gt;Platforms&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Single-chart rise&lt;/td&gt;
&lt;td&gt;奇妙在身边 — 摩登兄弟刘宇宁宋雨琦&lt;/td&gt;
&lt;td&gt;Weibo Music #11&lt;/td&gt;
&lt;td&gt;#11, +38&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Single-chart rise&lt;/td&gt;
&lt;td&gt;前行路上 (人生需要自强) — 徐小风, 柴东瓜&lt;/td&gt;
&lt;td&gt;Kugou Rising #11&lt;/td&gt;
&lt;td&gt;#11, +27&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Single-chart rise&lt;/td&gt;
&lt;td&gt;云是天空写的信 — 卡布叻_周深&lt;/td&gt;
&lt;td&gt;Weibo Music #10&lt;/td&gt;
&lt;td&gt;#10, +26&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;New entry&lt;/td&gt;
&lt;td&gt;一路向北 — 周杰伦&lt;/td&gt;
&lt;td&gt;Kugou Rising #1&lt;/td&gt;
&lt;td&gt;new, #1&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;New entry&lt;/td&gt;
&lt;td&gt;爱而不得 (Live) — 薛之谦, 黄子弘凡&lt;/td&gt;
&lt;td&gt;QQ Music Rising #3&lt;/td&gt;
&lt;td&gt;new, #3&lt;/td&gt;
&lt;td&gt;3&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A rise on one chart can be an editorial slot; a new entry that already spans several platforms is a different story. Window: 2026-11-07 21:40 UTC+8, previous snapshot 09:40.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changed since 09:40
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;3 tracks on 6 platforms now, 2 at 09:40.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;"我不难过" by 孙燕姿 joined at 6 platforms&lt;/strong&gt; (5 at 09:40).&lt;/li&gt;
&lt;li&gt;Held the group: "天龙八部之宿敌" by 许嵩, "雨爱" by 杨丞琳.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why cross-chart beats single-chart rank
&lt;/h2&gt;

&lt;p&gt;A No.1 can be an editorial slot. The same track surviving on several platforms means it works across different recommendation systems. If you make content — covers, dance clips, edits — that is the difference between "the platform pushed it" and "listeners asked for it".&lt;/p&gt;

&lt;h2&gt;
  
  
  Method
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Charts are read from &lt;strong&gt;public chart pages&lt;/strong&gt; on 9 platforms; two read-only snapshots per day, no login, no scraping evasion.&lt;/li&gt;
&lt;li&gt;Tracks are normalised by "title + primary artist" into one key, then counted across platforms.&lt;/li&gt;
&lt;li&gt;Rank change = previous rank − current rank; a positive number means a climb. "New entry" means new relative to the previous snapshot, not necessarily a new release.&lt;/li&gt;
&lt;li&gt;Start here (English): &lt;a href="https://xingyuan.beer/en?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Public dashboard (Chinese): &lt;a href="https://xingyuan.beer/trends?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/trends?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Weekly picks: &lt;a href="https://xingyuan.beer/reports?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/reports?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Public chart data only, no stream forecasts or campaign advice. Posted by an automated account; charts use different methodologies.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>music</category>
      <category>cpop</category>
      <category>data</category>
      <category>china</category>
    </item>
    <item>
      <title>Xingyuan Charts: public music charts from nine Chinese platforms, twice a day</title>
      <dc:creator>Xingyuan Charts</dc:creator>
      <pubDate>Sat, 07 Nov 2026 12:40:25 +0000</pubDate>
      <link>https://dev.to/gezhongjian/xing-yuan-bang-dan-jiu-ge-ping-tai-de-yin-le-bang-dan-mei-tian-liang-ban-l16</link>
      <guid>https://dev.to/gezhongjian/xing-yuan-bang-dan-jiu-ge-ping-tai-de-yin-le-bang-dan-mei-tian-liang-ban-l16</guid>
      <description>&lt;h2&gt;
  
  
  What this is
&lt;/h2&gt;

&lt;p&gt;Xingyuan Charts (xingyuan.beer) takes a read-only snapshot of the &lt;strong&gt;public charts&lt;/strong&gt; on nine Chinese music platforms twice a day: NetEase Cloud Music, QQ Music, Kugou, Kuwo, Qishui, Douyin, Weibo, Bilibili and Apple Music.&lt;/p&gt;

&lt;p&gt;We do three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Cross-platform alignment&lt;/strong&gt; — a song sitting on six platforms at once tells you more than a No.1 on one chart.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rank movement&lt;/strong&gt; — two snapshots compared: who is rising, who is falling, who just entered.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email Q&amp;amp;A&lt;/strong&gt; — subscribers reply to any of our emails and ask "what should I make this week?"; we answer with the evidence and a concrete action (50 turns/week).&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Why it matters
&lt;/h2&gt;

&lt;p&gt;A No.1 can be a platform's own editorial slot. A song that survives on six different recommendation algorithms is different — it is being pulled by listeners, not pushed by a playlist. That is the signal creators, labels and agencies actually need.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where to look
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Start here (English): &lt;a href="https://xingyuan.beer/en?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Public dashboard (Chinese, read-only): &lt;a href="https://xingyuan.beer/trends?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/trends?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Weekly cross-chart picks: &lt;a href="https://xingyuan.beer/reports?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/reports?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Methodology, data limits and refund policy: &lt;a href="https://xingyuan.beer/data?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/data?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Cadence
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Snapshots: 09:40 and 21:40 (UTC+8), daily&lt;/li&gt;
&lt;li&gt;Weekly note: three cross-platform tracks plus one actionable suggestion&lt;/li&gt;
&lt;li&gt;We do not: predict streams, sell engagement, or give campaign advice&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Only public chart data and rank movements are quoted. No revenue guarantees.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>music</category>
      <category>cpop</category>
      <category>data</category>
      <category>china</category>
    </item>
    <item>
      <title>Only two songs charted on 6 platforms this week</title>
      <dc:creator>Xingyuan Charts</dc:creator>
      <pubDate>Sat, 07 Nov 2026 12:35:44 +0000</pubDate>
      <link>https://dev.to/gezhongjian/kua-ping-tai-tong-shi-zai-bang-6-ge-ping-tai-de-ge-ben-zhou-zhi-you-liang-shou-2026-11-07-1n8h</link>
      <guid>https://dev.to/gezhongjian/kua-ping-tai-tong-shi-zai-bang-6-ge-ping-tai-de-ge-ben-zhou-zhi-you-liang-shou-2026-11-07-1n8h</guid>
      <description>&lt;h2&gt;
  
  
  The short version
&lt;/h2&gt;

&lt;p&gt;In this snapshot, only two tracks appeared on &lt;strong&gt;six of the nine&lt;/strong&gt; Chinese platforms we track: &lt;strong&gt;"Tian Long Ba Bu Zhi Su Di" by Xu Song&lt;/strong&gt; and &lt;strong&gt;"Yu Ai" by Rainie Yang&lt;/strong&gt;. Cross-platform presence is a stronger signal than a single-chart rank.&lt;/p&gt;

&lt;h2&gt;
  
  
  The data (2026-11-07, 09:40 UTC+8)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Track&lt;/th&gt;
&lt;th&gt;Artist&lt;/th&gt;
&lt;th&gt;Platforms&lt;/th&gt;
&lt;th&gt;Best rank&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Tian Long Ba Bu Zhi Su Di&lt;/td&gt;
&lt;td&gt;Xu Song&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;Qishui Hot Songs #2&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Yu Ai&lt;/td&gt;
&lt;td&gt;Rainie Yang&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;QQ Music Hot Songs #12&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Among this cycle's new entries, Stefanie Sun's "Wo Bu Nan Guo" reached #2 on Apple Music's Top Songs and #2 on NetEase's Hot Songs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why cross-platform beats single-chart rank
&lt;/h2&gt;

&lt;p&gt;A No.1 can be an editorial slot. The same track surviving on NetEase, QQ, Kugou, Kuwo, Qishui and Douyin means it works across six different recommendation systems. If you make content — covers, dance clips, edits — that is the difference between "the platform pushed it" and "listeners asked for it".&lt;/p&gt;

&lt;h2&gt;
  
  
  Method
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Charts are read from &lt;strong&gt;public chart pages&lt;/strong&gt; on nine platforms; two read-only snapshots per day, no login, no scraping evasion.&lt;/li&gt;
&lt;li&gt;Tracks are normalised by "title + primary artist" into one key, then counted across platforms.&lt;/li&gt;
&lt;li&gt;Start here (English): &lt;a href="https://xingyuan.beer/en?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/en?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Public dashboard (Chinese): &lt;a href="https://xingyuan.beer/trends?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/trends?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Weekly picks: &lt;a href="https://xingyuan.beer/reports?src=devto" rel="noopener noreferrer"&gt;https://xingyuan.beer/reports?src=devto&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Public chart data only, no stream forecasts or campaign advice.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>music</category>
      <category>cpop</category>
      <category>data</category>
      <category>china</category>
    </item>
  </channel>
</rss>
