fix(route): add swissinfo guid (#8804)

This commit is contained in:
Ethan Shen 2022-01-23 03:04:06 +08:00 committed by GitHub
parent 805338babd
commit 81e1230783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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;
})