From c74102882325554084488fb7d36e46b457631db0 Mon Sep 17 00:00:00 2001 From: mingcha-dev Date: Mon, 9 Mar 2026 18:42:18 +0800 Subject: [PATCH] fix: correct data_url, https, and domain underscores for PR #39/#40 sources - china-safe: fix data_url 404 (tjsj -> tjsj1), http -> https - china-sse: http -> https - china-cnnic: fix data_url 404 (hlwfzyj -> 11/38/326) - china-szse: remove underscore from domains (capital_markets -> securities) - All domains normalized: removed underscores per Issue #38 Fixes issues found in QA review of PR #39 and #40. --- firstdata/sources/china/finance/forex/china-safe.json | 8 ++++---- .../sources/china/finance/securities/china-sse.json | 9 ++++----- firstdata/sources/china/finance/securities/szse.json | 5 ++--- firstdata/sources/china/technology/internet/cnnic.json | 7 +++---- 4 files changed, 13 insertions(+), 16 deletions(-) diff --git a/firstdata/sources/china/finance/forex/china-safe.json b/firstdata/sources/china/finance/forex/china-safe.json index 9977d0d..8cb048c 100644 --- a/firstdata/sources/china/finance/forex/china-safe.json +++ b/firstdata/sources/china/finance/forex/china-safe.json @@ -9,14 +9,14 @@ "en": "The State Administration of Foreign Exchange (SAFE) is China's foreign exchange regulatory authority responsible for drafting regulations on foreign exchange market supervision and managing China's foreign exchange reserves. It publishes authoritative statistics on foreign exchange reserves, balance of payments, international investment position, cross-border capital flows, and exchange rate data.", "zh": "国家外汇管理局(外汇局)是中国外汇市场的监管机构,负责管理国家外汇储备。发布外汇储备规模、国际收支、国际投资头寸、跨境资本流动和汇率等权威统计数据。" }, - "website": "http://www.safe.gov.cn", - "data_url": "http://www.safe.gov.cn/safe/tjsj/index.html", + "website": "https://www.safe.gov.cn", + "data_url": "https://www.safe.gov.cn/safe/tjsj1/index.html", "api_url": null, "country": "CN", "domains": [ "finance", "economics", - "international_trade" + "trade" ], "geographic_scope": "national", "update_frequency": "monthly", @@ -59,4 +59,4 @@ "外债统计 - 按部门和期限分类的中国外债总量" ] } -} +} \ No newline at end of file diff --git a/firstdata/sources/china/finance/securities/china-sse.json b/firstdata/sources/china/finance/securities/china-sse.json index 0501ad2..9239fca 100644 --- a/firstdata/sources/china/finance/securities/china-sse.json +++ b/firstdata/sources/china/finance/securities/china-sse.json @@ -9,14 +9,13 @@ "en": "The Shanghai Stock Exchange (SSE) is one of China's two major stock exchanges and one of the largest in the world by market capitalization. It provides comprehensive real-time and historical market data including equity trading, bond markets, funds, derivatives, and company disclosure information. SSE hosts the main board and the STAR Market (Science and Technology Innovation Board) for high-tech enterprises.", "zh": "上海证券交易所(上交所)是中国两大证券交易所之一,也是全球市值最大的证券交易所之一。提供股票交易、债券市场、基金、衍生品及上市公司信息披露的全面实时和历史市场数据。上交所设有主板和面向科创企业的科创板。" }, - "website": "http://www.sse.com.cn", - "data_url": "http://www.sse.com.cn/market/stockdata/statistic/", + "website": "https://www.sse.com.cn", + "data_url": "https://www.sse.com.cn/market/stockdata/statistic/", "api_url": null, "country": "CN", "domains": [ "finance", - "securities", - "capital_markets" + "securities" ], "geographic_scope": "national", "update_frequency": "daily", @@ -62,4 +61,4 @@ "历史数据 - 每日、每月、每年历史市场统计数据" ] } -} +} \ No newline at end of file diff --git a/firstdata/sources/china/finance/securities/szse.json b/firstdata/sources/china/finance/securities/szse.json index acce09c..7f929c4 100644 --- a/firstdata/sources/china/finance/securities/szse.json +++ b/firstdata/sources/china/finance/securities/szse.json @@ -16,8 +16,7 @@ "country": "CN", "domains": [ "finance", - "securities", - "capital_markets" + "securities" ], "geographic_scope": "national", "update_frequency": "daily", @@ -61,4 +60,4 @@ "投资者统计 - 账户数量、机构与散户投资者结构" ] } -} +} \ No newline at end of file diff --git a/firstdata/sources/china/technology/internet/cnnic.json b/firstdata/sources/china/technology/internet/cnnic.json index eaf673b..130e912 100644 --- a/firstdata/sources/china/technology/internet/cnnic.json +++ b/firstdata/sources/china/technology/internet/cnnic.json @@ -10,14 +10,13 @@ "zh": "中国互联网络信息中心(CNNIC)是工业和信息化部下属的国家互联网络信息中心。每年发布两次《中国互联网络发展状况统计报告》,覆盖中国网民规模、宽带普及率、移动互联网、电子商务、网络服务和域名注册统计数据。" }, "website": "https://www.cnnic.cn", - "data_url": "https://www.cnnic.cn/hlwfzyj/hlwxzbg/", + "data_url": "https://www.cnnic.cn/11/38/326/index.html", "api_url": null, "authority_level": "government", "country": "CN", "domains": [ "technology", - "telecommunications", - "digital_economy" + "telecommunications" ], "geographic_scope": "national", "update_frequency": "irregular", @@ -61,4 +60,4 @@ "数字经济 - 互联网经济指标、平台经济数据" ] } -} +} \ No newline at end of file