mirror of
https://github.com/ioistired/pleroma-ebooks.git
synced 2024-11-20 10:24:51 +01:00
removed unnecessary todo
This commit is contained in:
parent
0625086b4c
commit
e48ce83b02
1
main.py
1
main.py
@ -54,7 +54,6 @@ def extract_toot(toot):
|
||||
soup = BeautifulSoup(toot, "html.parser")
|
||||
|
||||
# this is the code that removes all mentions
|
||||
# TODO: make it so that it removes the @ and instance but keeps the name
|
||||
for mention in soup.select("span.h-card"):
|
||||
mention.a.unwrap()
|
||||
mention.span.unwrap()
|
||||
|
Loading…
Reference in New Issue
Block a user