From 3d80517a6fae081aa4f21a96d1710385c50647af Mon Sep 17 00:00:00 2001 From: t3xhno Date: Tue, 6 Feb 2024 22:08:43 +0100 Subject: [PATCH] Add link to tasks that have users assigned --- scraper_functions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scraper_functions.py b/scraper_functions.py index 4236830..d4cbfa6 100644 --- a/scraper_functions.py +++ b/scraper_functions.py @@ -43,7 +43,8 @@ def getDmzTasks(url): usersList = "" for user in assignedUsers: usersList += user.find("div").text.split(": ")[1] + ", " - result += usersList[:-2] + "\n\n" + result += usersList[:-2] + "\n" + result += "\tLink: " + url + task.find("a")["href"][1:] + "\n\n" return result except Exception as e: return e