From 81e123078300df0445067e44d7034f1ea6f8b855 Mon Sep 17 00:00:00 2001 From: Ethan Shen Date: Sun, 23 Jan 2022 03:04:06 +0800 Subject: [PATCH] fix(route): add swissinfo guid (#8804) --- lib/v2/swissinfo/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/v2/swissinfo/index.js b/lib/v2/swissinfo/index.js index 55c4e7cf8..11274e771 100644 --- a/lib/v2/swissinfo/index.js +++ b/lib/v2/swissinfo/index.js @@ -58,6 +58,7 @@ module.exports = async (ctx) => { item.description = content('.si-detail__content').html(); item.author = content('meta[name="author"]').attr('content'); + item.guid = detailResponse.data.match(/content_id: "(.*)",/)[1]; return item; })