fd
This commit is contained in:
parent
8425ad07ff
commit
b561e38273
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ def NOTIFY_USERS(text, v):
|
|||
if id == 0: continue
|
||||
if word in text.lower() and id not in notify_users and v.id != id: notify_users.add(id)
|
||||
|
||||
soup = BeautifulSoup(text, 'xml')
|
||||
soup = BeautifulSoup(text, 'html.parser')
|
||||
for mention in soup.find_all("a", href=re.compile("^\/id\/([0-9]+)")):
|
||||
id = int(mention["href"].split("/id/")[1])
|
||||
if id != v.id:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue