mirror of
https://github.com/norohind/ED-livery-tracker-advanced.git
synced 2026-10-22 21:02:08 +03:00
Use http proxy for discord
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user