From 1b0ca28a73a2e58f8035cc4859f2bc04a8490469 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 10 Mar 2020 15:15:05 -0400 Subject: [PATCH] Even better --- commands/search/mayo-clinic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/mayo-clinic.js b/commands/search/mayo-clinic.js index c4947c60..0bc52baa 100644 --- a/commands/search/mayo-clinic.js +++ b/commands/search/mayo-clinic.js @@ -66,7 +66,7 @@ module.exports = class MayoClinicCommand extends Command { return { name: $('h1').first().text().trim(), url: location, - description: header.next('p').text() + description: $('p').first().text().trim() }; } return location;