From e0991b42ed6761ac672ff170efff42d30fc8be5f Mon Sep 17 00:00:00 2001 From: Akubits Date: Sat, 15 Jun 2019 23:26:41 +0800 Subject: [PATCH] Fixed lovecalculator Replaced space with two underscores --- lovecalculator/lovecalculator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lovecalculator/lovecalculator.py b/lovecalculator/lovecalculator.py index 25e7b46..3a83cab 100644 --- a/lovecalculator/lovecalculator.py +++ b/lovecalculator/lovecalculator.py @@ -30,7 +30,7 @@ class LoveCalculator(Cog): soup_object = BeautifulSoup(await response.text(), "html.parser") try: description = ( - soup_object.find("div", attrs={"class": "result score"}).get_text().strip() + soup_object.find("div", attrs={"class": "result__score"}).get_text().strip() ) except: description = "Dr. Love is busy right now"