Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
Added more converters for stickers
Browse files Browse the repository at this point in the history
  • Loading branch information
veloc1 committed Jan 22, 2020
1 parent c3655c3 commit 75ab7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion converters/stickers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def replace_sticker(text):
stickers_set.add(i)
text = re.sub(pattern, r':\1:', text)

pattern = r'<img src="http:\/\/k.faisu.net\/kreguzda\/images\/smilies\/(.*?)\..*?" />'
pattern = r'<img src="http:\/\/k\.faisu\.net\/kreguzda\/images\/smilies\/(.*?)\..*?" />'
items = re.findall(pattern, text)
for i in items:
stickers_set.add(i)
Expand Down

0 comments on commit 75ab7a2

Please sign in to comment.