fix wpd videos

pull/138/head
Aevann 2023-03-06 02:02:40 +02:00
parent ce501ddf05
commit d814fbbff6
1 changed files with 2 additions and 2 deletions

View File

@ -239,8 +239,6 @@ class Submission(Base):
if not url: return ''
if url.startswith('/'): return SITE_FULL + url
url = normalize_urls_runtime(url, v)
if url.startswith("https://old.reddit.com/r/") and '/comments/' in url and "sort=" not in url:
@ -255,6 +253,8 @@ class Submission(Base):
url = url.replace("/videos/",
"https://videos.watchpeopledie.tv/", 1)
if url.startswith('/'): return SITE_FULL + url
return url
@lazy