fix mobile wikipedia links

master
Aevann 2023-08-23 02:16:07 +03:00
parent f9f5f507ce
commit a20de69507
1 changed files with 1 additions and 1 deletions

View File

@ -757,7 +757,7 @@ def normalize_url(url):
.replace("https://nitter.42l.fr/", "https://twitter.com/") \ .replace("https://nitter.42l.fr/", "https://twitter.com/") \
.replace("https://nitter.net/", "https://twitter.com/") \ .replace("https://nitter.net/", "https://twitter.com/") \
.replace("https://m.facebook.com", "https://facebook.com") \ .replace("https://m.facebook.com", "https://facebook.com") \
.replace("https://m.wikipedia.org", "https://wikipedia.org") \ .replace("https://en.m.wikipedia.org", "https://en.wikipedia.org") \
.replace("https://www.instagram.com", "https://instagram.com") \ .replace("https://www.instagram.com", "https://instagram.com") \
.replace("https://www.tiktok.com", "https://tiktok.com") \ .replace("https://www.tiktok.com", "https://tiktok.com") \
.replace("https://imgur.com/", "https://i.imgur.com/") \ .replace("https://imgur.com/", "https://i.imgur.com/") \