From b20b09807631d5afea7d135e972d7fe7c07be6d3 Mon Sep 17 00:00:00 2001 From: Akubits <51273864+Akubits@users.noreply.github.com> Date: Wed, 17 Jul 2019 10:43:26 -0700 Subject: [PATCH] Fixed lovecalculator (#57) 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"