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] + ', ',