switch to another nitter instance

remotes/1693045480750635534/spooky-22
Aevann1 2022-07-28 18:47:44 +02:00
parent 07be18cd1b
commit adc77681df
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ def normalize_urls_runtime(body, v):
if v:
body = body.replace("https://old.reddit.com/r/", f'https://{v.reddit}/r/').replace("https://old.reddit.com/u/", f'https://{v.reddit}/u/')
if v.nitter: body = twitter_to_nitter_regex.sub(r'https://nitter.net/\1', body)
if v.nitter: body = twitter_to_nitter_regex.sub(r'https://nitter.42l.fr/\1', body)
return body

View File

@ -202,7 +202,7 @@
<label class="custom-control-label" for="nitter"></label>
</div>
<span class="text-small text-muted">Enable if you would like to automatically convert twitter.com links to nitter.net links.</span>
<span class="text-small text-muted">Enable if you would like to automatically convert twitter.com links to nitter.42l.fr links.</span>
</div>