forked from rDrama/rDrama
fix /r/place links
parent
16fb709c00
commit
9fea2f21da
|
@ -26,6 +26,9 @@ def normalize_urls_runtime(body, v):
|
||||||
body = twitter_to_nitter_regex.sub(r'\1https://nitter.lacontrevoie.fr/', body)
|
body = twitter_to_nitter_regex.sub(r'\1https://nitter.lacontrevoie.fr/', body)
|
||||||
if v.imginn:
|
if v.imginn:
|
||||||
body = body.replace('https://instagram.com/', 'https://imginn.com/')
|
body = body.replace('https://instagram.com/', 'https://imginn.com/')
|
||||||
|
|
||||||
|
body = body.replace('https://old.reddit.com/r/place', 'https://new.reddit.com/r/place')
|
||||||
|
|
||||||
return body
|
return body
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue