Update server.py

This commit is contained in:
Namhyeon Go 2024-02-19 15:44:31 +09:00 committed by GitHub
parent d657f22796
commit ac441e95a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,7 +192,7 @@ def proxy_check_filtered(data, webserver, port, scheme, method, url):
urls = []
if not filtered:
urls = re.findall(r'https?://[^\s]+?\.webp\b', text)
urls = re.findall(r'https?://[^\s]+?\.webp(?:\b|\W)', text)
if len(urls) > 0:
for url in urls:
if not filtered: