Skip to content

Commit

Permalink
Removing t.me from shorteners
Browse files Browse the repository at this point in the history
Fix #188
  • Loading branch information
Yomguithereal committed Jul 21, 2023
1 parent f35b014 commit e16b479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ural/is_shortened_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
DOMAIN_STARTS_L_RE = re.compile(r"^/[0-9a-zA-Z]{3,}/?$")

# Some domains taken from: https://github.com/timleland/url-shorteners
# NOTE: t.me is not a shortener, they return a 200 HTTP status
SHORTENER_DOMAINS = [
"0rz.tw",
"1-url.net",
Expand Down Expand Up @@ -1031,7 +1032,6 @@
"t.co",
"t.lh.com",
"t.ly",
"t.me",
"t1p.de",
"t2m.io",
"ta.gd",
Expand Down

0 comments on commit e16b479

Please sign in to comment.