From 88cce181244b90c656ca6f532f2ede8b1393fc36 Mon Sep 17 00:00:00 2001 From: Ethan Shen <42264778+nczitzk@users.noreply.github.com> Date: Thu, 30 Jun 2022 22:34:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(route):=20The=20New=20York=20Times=20?= =?UTF-8?q?=E6=96=B0=E9=97=BB=E7=AE=80=E6=8A=A5=E5=9B=BE=E7=89=87=20(#1007?= =?UTF-8?q?7)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix(route): The New York Times 新闻简报图片 * fix: pattern for urls of images --- lib/v2/nytimes/daily_briefing_chinese.js | 25 +++--------------------- lib/v2/nytimes/templates/image.art | 1 - 2 files changed, 3 insertions(+), 23 deletions(-) diff --git a/lib/v2/nytimes/daily_briefing_chinese.js b/lib/v2/nytimes/daily_briefing_chinese.js index 8ad50639e..dfebefe40 100644 --- a/lib/v2/nytimes/daily_briefing_chinese.js +++ b/lib/v2/nytimes/daily_briefing_chinese.js @@ -13,7 +13,7 @@ module.exports = async (ctx) => { url: currentUrl, }); - const listData = JSON.parse(response.data.match(/