From 5cb3394983e0d909cdd985069781c8f5bd8b316e Mon Sep 17 00:00:00 2001 From: norohind <60548839+norohind@users.noreply.github.com> Date: Mon, 10 Nov 2025 18:47:17 +0300 Subject: [PATCH] Use http proxy for discord --- livery_tracker.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/livery_tracker.py b/livery_tracker.py index 5c7514e..deb78ad 100644 --- a/livery_tracker.py +++ b/livery_tracker.py @@ -83,7 +83,8 @@ class NotifyDiscord: r = requests.post( _webhook_dict['url'], data=f'content={requests.utils.quote(_message)}', - headers={'Content-Type': 'application/x-www-form-urlencoded'} + headers={'Content-Type': 'application/x-www-form-urlencoded'}, + proxies={"https": "http://localhost:1080"} ) _webhook_dict['last_send'] = time.time() # shallow copy