forked from rDrama/rDrama
fix wpd videos
parent
ce501ddf05
commit
d814fbbff6
|
@ -239,8 +239,6 @@ class Submission(Base):
|
||||||
|
|
||||||
if not url: return ''
|
if not url: return ''
|
||||||
|
|
||||||
if url.startswith('/'): return SITE_FULL + url
|
|
||||||
|
|
||||||
url = normalize_urls_runtime(url, v)
|
url = normalize_urls_runtime(url, v)
|
||||||
|
|
||||||
if url.startswith("https://old.reddit.com/r/") and '/comments/' in url and "sort=" not in url:
|
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/",
|
url = url.replace("/videos/",
|
||||||
"https://videos.watchpeopledie.tv/", 1)
|
"https://videos.watchpeopledie.tv/", 1)
|
||||||
|
|
||||||
|
if url.startswith('/'): return SITE_FULL + url
|
||||||
|
|
||||||
return url
|
return url
|
||||||
|
|
||||||
@lazy
|
@lazy
|
||||||
|
|
Loading…
Reference in New Issue