From 4b2dc9f337a0306bd471608c97f856ee46b54bd4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 25 Feb 2022 20:12:04 +0200 Subject: [PATCH] fds --- files/classes/submission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/submission.py b/files/classes/submission.py index 60f34ecf4..eafbaf4f4 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -236,7 +236,7 @@ class Submission(Base): print('2') if self.url.startswith('/'): return SITE print(f'url: {self.url}') - domain = urlparse(self.url).netloc + domain = urlparse(self.url).hostname print(f'domain1: {domain}') if domain.startswith("www."): domain = domain.split("www.")[1] print(f'domain2: {domain}')