From f2347d5919a1a138698f7f38e8a692c86e8d94c2 Mon Sep 17 00:00:00 2001 From: moonrailgun Date: Mon, 11 Jan 2021 22:25:50 +0800 Subject: [PATCH] fix: fix tesla link path --- lib/routes/tesla/update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/routes/tesla/update.js b/lib/routes/tesla/update.js index 979b06d98..9c801ca1b 100644 --- a/lib/routes/tesla/update.js +++ b/lib/routes/tesla/update.js @@ -34,7 +34,7 @@ module.exports = async (ctx) => { title: item.find('.container h1').text(), description: item.find('.notes-container').text() + '', pubDate: targetDate[0], - link: 'https://www.notateslaapp.com' + item.find('.selector-container-notes a').attr('href'), + link: 'https://www.notateslaapp.com' + item.find('.notes-container > .button-container > a').attr('href'), }; }) .get(),