Formatting
This commit is contained in:
parent
dab4e41de0
commit
adb4a25d25
@ -27,7 +27,7 @@ def getDmzTasks(url):
|
|||||||
for task in tasks:
|
for task in tasks:
|
||||||
taskIndex = task.select("div")[0].text
|
taskIndex = task.select("div")[0].text
|
||||||
taskTitle = task.select("div")[1].text
|
taskTitle = task.select("div")[1].text
|
||||||
result += taskIndex + " " + taskTitle + "|" + " Link: " + url + task.find("a")["href"][1:] + "\n"
|
result += taskIndex + " " + taskTitle + " | " + "Link: " + url + task.find("a")["href"][1:] + "\n"
|
||||||
return result
|
return result
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return e
|
return e
|
||||||
|
Loading…
Reference in New Issue
Block a user