diff --git a/deluge/core/torrent.py b/deluge/core/torrent.py index baaba7cb8..210b7eb22 100644 --- a/deluge/core/torrent.py +++ b/deluge/core/torrent.py @@ -520,7 +520,10 @@ class Torrent: host = (url.hostname or 'DHT') parts = host.split(".") if len(parts) > 2: - host = ".".join(parts[-2:]) + if parts[-2] in ("co", "com"): + host = ".".join(parts[-3:]) + else: + host = ".".join(parts[-2:]) return host return ""