From 7d8e940b8159fbeb92ee79fdfc981b5746bee593 Mon Sep 17 00:00:00 2001 From: Evoney Date: Thu, 28 Dec 2023 12:57:48 -0400 Subject: [PATCH] fix: lint --- service.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/service.py b/service.py index 73ef681..9237961 100644 --- a/service.py +++ b/service.py @@ -14,9 +14,11 @@ auth_token = env['AUTH_TOKEN'] twilio_phone_number = env['TWILIO_PHONE_NUMBER'] phone_number = env['PHONE_NUMBER'] +apple_kit_string = "AppleWebKit/537.36 (KHTML, like Gecko) " +browsers = "Chrome/81.0.4044.138 Safari/537.36" header = { - "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36", + "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) " + apple_kit_string + browsers, 'Accept': '*/*', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'en-GB,en-US;q=0.9,en;q=0.8'