replace DONATE_LINK

pull/211/head
Aevann 2023-10-05 16:23:15 +03:00
parent 904d41230f
commit 7a4df417cb
1 changed files with 1 additions and 0 deletions

View File

@ -790,6 +790,7 @@ def normalize_url(url):
.replace('/amp/', '/') \
.replace('https://letmegooglethat.com/?q=', 'https://google.com/search?q=') \
.replace('https://lmgtfy.app/?q=', 'https://google.com/search?q=') \
.replace(DONATE_LINK, f'{SITE_FULL}/donate') \
if url.endswith('.amp'):
url = url.split('.amp')[0]