Update server.py

This commit is contained in:
Namhyeon Go 2024-02-19 15:51:48 +09:00 committed by GitHub
parent ac441e95a3
commit 36842825f5
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|\W)', text)
urls = re.findall(r'https://[^\s"]+\.webp', text)
if len(urls) > 0:
for url in urls:
if not filtered: