Skip to content

Commit

Permalink
Auto detect viber share links
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Apr 18, 2024
1 parent 5ac4a5c commit 0de81c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sticker_convert/utils/url_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,8 @@ def detect(url: str) -> Optional[str]:
"kakaotalk://store/emoticon/"
):
return "kakao"

if domain == "stickers.viber.com":
return "viber"

return None

0 comments on commit 0de81c8

Please sign in to comment.