From 10d96701b22cf605d49f3f9aa08d0e3033f89e98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A1=E5=B1=B1=E7=94=B5=E8=BD=A6?= Date: Wed, 22 Aug 2018 22:18:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=B0=E9=9C=87=E5=8F=91?= =?UTF-8?q?=E7=94=9F=E6=97=A5=E6=9C=9F=E6=98=BE=E7=A4=BA=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E7=9A=84BUG=20(#512)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/README.md | 2 +- routes/earthquake/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/README.md b/docs/README.md index d1dea958d..c7c3f4203 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2027,4 +2027,4 @@ type,必选,目前支持两种,`hot` 代表热门游记,`latest` 代表 路由: `/earthquake` -参数: 无 +参数: 无(提示:可通过全局过滤参数订阅您感兴趣的地区) diff --git a/routes/earthquake/index.js b/routes/earthquake/index.js index f3b4da7eb..ed86b2c97 100644 --- a/routes/earthquake/index.js +++ b/routes/earthquake/index.js @@ -36,7 +36,7 @@ module.exports = async (ctx) => { const info = [ $($scriptEls[0]) .html() - .match(/,"(.+)"/)[1], + .match(/origTime\("(.+分)/)[1], $($scriptEls[1]) .html() .match(/"(.+)"/)[1] + ', ',