From b0de6cf6d67a7bc50a9168d99e92242af860f456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=8E=E5=AF=9F?= Date: Sun, 29 Mar 2026 02:55:54 +0800 Subject: [PATCH] fix: upgrade HTTP to HTTPS for 4 government data sources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upgrade HTTP URLs to HTTPS for verified government websites: - MOA (农业农村部): website + data_url — HTTP 301→HTTPS, cert valid (CFCA, exp 2026-06) - MOFCOM (商务部): website — HTTPS 200, same content (42835 bytes), cert valid (DigiCert, exp 2026-08) - CSRC (证监会): website — HTTPS 200, same content (220366 bytes), cert valid (CFCA, exp 2026-05) - PBC (人民银行): website + data_url — HTTP 302→HTTPS, cert valid (CFCA, exp 2026-08) NOT upgraded: - MOE (教育部): HTTPS returns 302 back to HTTP (redirect loop), cannot upgrade Verification method: curl -I -L with full redirect chain tracking + OpenSSL certificate validation + content consistency check (title + page size comparison between HTTP and HTTPS versions) --- firstdata/indexes/all-sources.json | 12 ++++++------ firstdata/indexes/by-authority.json | 4 ++-- firstdata/indexes/by-domain.json | 12 ++++++------ firstdata/indexes/by-region.json | 4 ++-- .../sources/china/economy/agriculture/china-moa.json | 4 ++-- firstdata/sources/china/economy/trade/mofcom.json | 2 +- firstdata/sources/china/finance/banking/pbc.json | 4 ++-- firstdata/sources/china/finance/securities/csrc.json | 2 +- 8 files changed, 22 insertions(+), 22 deletions(-) diff --git a/firstdata/indexes/all-sources.json b/firstdata/indexes/all-sources.json index 8b869bc..c202cdc 100644 --- a/firstdata/indexes/all-sources.json +++ b/firstdata/indexes/all-sources.json @@ -2254,8 +2254,8 @@ "en": "Official agricultural statistics and rural economy data published by China's Ministry of Agriculture and Rural Affairs (MARA), covering crop production, livestock and aquaculture, agricultural inputs, rural household income, and agricultural mechanization. Includes annual China Agricultural Development Reports and statistical yearbooks on agriculture and rural development.", "zh": "中华人民共和国农业农村部发布的官方农业统计和农村经济数据,涵盖农作物产量、畜牧水产、农业投入品、农村居民收入及农业机械化水平。包括年度《中国农业发展报告》和农业农村统计年报。" }, - "website": "http://www.moa.gov.cn/", - "data_url": "http://www.moa.gov.cn/nybgb/", + "website": "https://www.moa.gov.cn/", + "data_url": "https://www.moa.gov.cn/nybgb/", "api_url": null, "authority_level": "government", "country": "CN", @@ -2845,7 +2845,7 @@ "en": "The Ministry of Commerce (MOFCOM) is responsible for formulating policies on foreign trade, foreign investment, and domestic commerce in China. Provides data on foreign direct investment (FDI), outbound direct investment (ODI), retail sales, e-commerce, trade in services, and bilateral economic cooperation.", "zh": "中华人民共和国商务部负责制定中国对外贸易、外商投资和国内商业政策。提供外商直接投资(FDI)、对外直接投资(ODI)、零售销售、电子商务、服务贸易和双边经济合作数据。" }, - "website": "http://www.mofcom.gov.cn", + "website": "https://www.mofcom.gov.cn", "data_url": "https://data.mofcom.gov.cn", "api_url": null, "country": "CN", @@ -3423,8 +3423,8 @@ "en": "The People's Bank of China (PBOC) is the central bank of China. It publishes comprehensive financial statistics including monetary policy data, money supply (M0/M1/M2), interest rates, exchange rates, banking sector statistics, balance of payments, foreign exchange reserves, credit and loan data, and financial market indicators.", "zh": "中国人民银行是中国的中央银行。发布全面的金融统计数据,包括货币政策数据、货币供应量(M0/M1/M2)、利率、汇率、银行业统计、国际收支、外汇储备、信贷数据和金融市场指标。" }, - "website": "http://www.pbc.gov.cn", - "data_url": "http://www.pbc.gov.cn/diaochatongjisi/116219/index.html", + "website": "https://www.pbc.gov.cn", + "data_url": "https://www.pbc.gov.cn/diaochatongjisi/116219/index.html", "api_url": null, "country": "CN", "domains": [ @@ -3792,7 +3792,7 @@ "en": "The China Securities Regulatory Commission (CSRC) is the primary regulator of the securities and futures markets in China. It provides comprehensive data on capital markets including stock market statistics, IPO data, listed company information, bond market data, futures market statistics, fund industry data, and regulatory enforcement actions.", "zh": "中国证券监督管理委员会是中国证券期货市场的主要监管机构。提供全面的资本市场数据,包括股票市场统计、IPO数据、上市公司信息、债券市场数据、期货市场统计、基金行业数据和监管执法行动。" }, - "website": "http://www.csrc.gov.cn", + "website": "https://www.csrc.gov.cn", "data_url": "https://www.csrc.gov.cn/csrc/c100103/common_list.shtml", "api_url": null, "country": "CN", diff --git a/firstdata/indexes/by-authority.json b/firstdata/indexes/by-authority.json index d28f650..2b621a6 100644 --- a/firstdata/indexes/by-authority.json +++ b/firstdata/indexes/by-authority.json @@ -1493,7 +1493,7 @@ "zh": "中华人民共和国农业农村部农业统计" }, "authority_level": "government", - "data_url": "http://www.moa.gov.cn/nybgb/", + "data_url": "https://www.moa.gov.cn/nybgb/", "has_api": false, "file_path": "china/economy/agriculture/china-moa.json", "geographic_scope": "national" @@ -1706,7 +1706,7 @@ "native": "中国人民银行" }, "authority_level": "government", - "data_url": "http://www.pbc.gov.cn/diaochatongjisi/116219/index.html", + "data_url": "https://www.pbc.gov.cn/diaochatongjisi/116219/index.html", "has_api": false, "file_path": "china/finance/banking/pbc.json", "geographic_scope": "national" diff --git a/firstdata/indexes/by-domain.json b/firstdata/indexes/by-domain.json index 967003d..dc0b018 100644 --- a/firstdata/indexes/by-domain.json +++ b/firstdata/indexes/by-domain.json @@ -282,7 +282,7 @@ "zh": "中华人民共和国农业农村部农业统计" }, "authority_level": "government", - "data_url": "http://www.moa.gov.cn/nybgb/", + "data_url": "https://www.moa.gov.cn/nybgb/", "has_api": false, "file_path": "china/economy/agriculture/china-moa.json", "geographic_scope": "national" @@ -6299,7 +6299,7 @@ "zh": "中华人民共和国农业农村部农业统计" }, "authority_level": "government", - "data_url": "http://www.moa.gov.cn/nybgb/", + "data_url": "https://www.moa.gov.cn/nybgb/", "has_api": false, "file_path": "china/economy/agriculture/china-moa.json", "geographic_scope": "national" @@ -6427,7 +6427,7 @@ "native": "中国人民银行" }, "authority_level": "government", - "data_url": "http://www.pbc.gov.cn/diaochatongjisi/116219/index.html", + "data_url": "https://www.pbc.gov.cn/diaochatongjisi/116219/index.html", "has_api": false, "file_path": "china/finance/banking/pbc.json", "geographic_scope": "national" @@ -10865,7 +10865,7 @@ "native": "中国人民银行" }, "authority_level": "government", - "data_url": "http://www.pbc.gov.cn/diaochatongjisi/116219/index.html", + "data_url": "https://www.pbc.gov.cn/diaochatongjisi/116219/index.html", "has_api": false, "file_path": "china/finance/banking/pbc.json", "geographic_scope": "national" @@ -17665,7 +17665,7 @@ "native": "中国人民银行" }, "authority_level": "government", - "data_url": "http://www.pbc.gov.cn/diaochatongjisi/116219/index.html", + "data_url": "https://www.pbc.gov.cn/diaochatongjisi/116219/index.html", "has_api": false, "file_path": "china/finance/banking/pbc.json", "geographic_scope": "national" @@ -21642,7 +21642,7 @@ "zh": "中华人民共和国农业农村部农业统计" }, "authority_level": "government", - "data_url": "http://www.moa.gov.cn/nybgb/", + "data_url": "https://www.moa.gov.cn/nybgb/", "has_api": false, "file_path": "china/economy/agriculture/china-moa.json", "geographic_scope": "national" diff --git a/firstdata/indexes/by-region.json b/firstdata/indexes/by-region.json index 129baae..fe6bf7b 100644 --- a/firstdata/indexes/by-region.json +++ b/firstdata/indexes/by-region.json @@ -368,7 +368,7 @@ "zh": "中华人民共和国农业农村部农业统计" }, "authority_level": "government", - "data_url": "http://www.moa.gov.cn/nybgb/", + "data_url": "https://www.moa.gov.cn/nybgb/", "has_api": false, "file_path": "china/economy/agriculture/china-moa.json", "geographic_scope": "national" @@ -581,7 +581,7 @@ "native": "中国人民银行" }, "authority_level": "government", - "data_url": "http://www.pbc.gov.cn/diaochatongjisi/116219/index.html", + "data_url": "https://www.pbc.gov.cn/diaochatongjisi/116219/index.html", "has_api": false, "file_path": "china/finance/banking/pbc.json", "geographic_scope": "national" diff --git a/firstdata/sources/china/economy/agriculture/china-moa.json b/firstdata/sources/china/economy/agriculture/china-moa.json index 3df6eb2..59f0bd2 100644 --- a/firstdata/sources/china/economy/agriculture/china-moa.json +++ b/firstdata/sources/china/economy/agriculture/china-moa.json @@ -8,8 +8,8 @@ "en": "Official agricultural statistics and rural economy data published by China's Ministry of Agriculture and Rural Affairs (MARA), covering crop production, livestock and aquaculture, agricultural inputs, rural household income, and agricultural mechanization. Includes annual China Agricultural Development Reports and statistical yearbooks on agriculture and rural development.", "zh": "中华人民共和国农业农村部发布的官方农业统计和农村经济数据,涵盖农作物产量、畜牧水产、农业投入品、农村居民收入及农业机械化水平。包括年度《中国农业发展报告》和农业农村统计年报。" }, - "website": "http://www.moa.gov.cn/", - "data_url": "http://www.moa.gov.cn/nybgb/", + "website": "https://www.moa.gov.cn/", + "data_url": "https://www.moa.gov.cn/nybgb/", "api_url": null, "authority_level": "government", "country": "CN", diff --git a/firstdata/sources/china/economy/trade/mofcom.json b/firstdata/sources/china/economy/trade/mofcom.json index 9a81514..8e63163 100644 --- a/firstdata/sources/china/economy/trade/mofcom.json +++ b/firstdata/sources/china/economy/trade/mofcom.json @@ -9,7 +9,7 @@ "en": "The Ministry of Commerce (MOFCOM) is responsible for formulating policies on foreign trade, foreign investment, and domestic commerce in China. Provides data on foreign direct investment (FDI), outbound direct investment (ODI), retail sales, e-commerce, trade in services, and bilateral economic cooperation.", "zh": "中华人民共和国商务部负责制定中国对外贸易、外商投资和国内商业政策。提供外商直接投资(FDI)、对外直接投资(ODI)、零售销售、电子商务、服务贸易和双边经济合作数据。" }, - "website": "http://www.mofcom.gov.cn", + "website": "https://www.mofcom.gov.cn", "data_url": "https://data.mofcom.gov.cn", "api_url": null, "country": "CN", diff --git a/firstdata/sources/china/finance/banking/pbc.json b/firstdata/sources/china/finance/banking/pbc.json index 56db786..b63cf53 100644 --- a/firstdata/sources/china/finance/banking/pbc.json +++ b/firstdata/sources/china/finance/banking/pbc.json @@ -9,8 +9,8 @@ "en": "The People's Bank of China (PBOC) is the central bank of China. It publishes comprehensive financial statistics including monetary policy data, money supply (M0/M1/M2), interest rates, exchange rates, banking sector statistics, balance of payments, foreign exchange reserves, credit and loan data, and financial market indicators.", "zh": "中国人民银行是中国的中央银行。发布全面的金融统计数据,包括货币政策数据、货币供应量(M0/M1/M2)、利率、汇率、银行业统计、国际收支、外汇储备、信贷数据和金融市场指标。" }, - "website": "http://www.pbc.gov.cn", - "data_url": "http://www.pbc.gov.cn/diaochatongjisi/116219/index.html", + "website": "https://www.pbc.gov.cn", + "data_url": "https://www.pbc.gov.cn/diaochatongjisi/116219/index.html", "api_url": null, "country": "CN", "domains": [ diff --git a/firstdata/sources/china/finance/securities/csrc.json b/firstdata/sources/china/finance/securities/csrc.json index 73a2faf..77d4669 100644 --- a/firstdata/sources/china/finance/securities/csrc.json +++ b/firstdata/sources/china/finance/securities/csrc.json @@ -9,7 +9,7 @@ "en": "The China Securities Regulatory Commission (CSRC) is the primary regulator of the securities and futures markets in China. It provides comprehensive data on capital markets including stock market statistics, IPO data, listed company information, bond market data, futures market statistics, fund industry data, and regulatory enforcement actions.", "zh": "中国证券监督管理委员会是中国证券期货市场的主要监管机构。提供全面的资本市场数据,包括股票市场统计、IPO数据、上市公司信息、债券市场数据、期货市场统计、基金行业数据和监管执法行动。" }, - "website": "http://www.csrc.gov.cn", + "website": "https://www.csrc.gov.cn", "data_url": "https://www.csrc.gov.cn/csrc/c100103/common_list.shtml", "api_url": null, "country": "CN",