From d4653f824a310c632e49d8df179d504a7c9ae126 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 5 Aug 2023 21:15:20 +0300 Subject: [PATCH] remove now-unneeded shit --- files/classes/post.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/files/classes/post.py b/files/classes/post.py index 0a1e02fb8..6929962ef 100644 --- a/files/classes/post.py +++ b/files/classes/post.py @@ -270,13 +270,6 @@ class Post(Base): if "?" in url: url += "&context=9" else: url += "?context=8" if not v or v.controversial: url += "&sort=controversial" - elif url.startswith("https://watchpeopledie.tv/videos/"): - # Semi-temporary fix for self-hosted unproxied video serving - url = url.replace("https://watchpeopledie.tv/videos/", - "https://videos.watchpeopledie.tv/", 1) - elif SITE == 'watchpeopledie.tv' and url.startswith('/videos'): - url = url.replace("/videos/", - "https://videos.watchpeopledie.tv/", 1) if url.startswith('/'): return SITE_FULL + url