remotes/1693045480750635534/spooky-22
Aevann1 2022-02-25 20:19:45 +02:00
parent 5e1f59f654
commit fd8a331922
1 changed files with 0 additions and 1 deletions

View File

@ -233,7 +233,6 @@ class Submission(Base):
def domain(self):
if not self.url: return None
if self.url.startswith('/'): return SITE
if g.v.id == 1: print(self.url)
domain = urlparse(self.url).netloc
if domain.startswith("www."): domain = domain.split("www.")[1]
return domain.replace("old.reddit.com", "reddit.com")