From e66752e9293f1a0b113b980fd9cdd701671abf40 Mon Sep 17 00:00:00 2001 From: Meghdad Date: Mon, 2 Jun 2025 00:11:46 +0330 Subject: [PATCH] add get_blackouts url --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 4aa4056..88e33a6 100644 --- a/main.py +++ b/main.py @@ -18,7 +18,9 @@ to_date = today + timedelta(days=5) def get_blackouts(bill_id) -> list: url = "https://uiapi2.saapa.ir/api/ebills/PlannedBlackoutsReport" + url = "https://abat-lms.rodad.net/PlannedBlackoutsReport" headers = { + 'accept': 'application/json', "Authorization": f"Bearer {BARGHEMAN_TOKEN}", } payload = {