From ad0cc0b2e8aa36e0866d51d025abdc0ccad1600c Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Sun, 22 Oct 2023 12:14:18 +0200 Subject: Add prints --- pakarlib/build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pakarlib/build.py b/pakarlib/build.py index 7cec8a1..a1aeeae 100644 --- a/pakarlib/build.py +++ b/pakarlib/build.py @@ -5,6 +5,7 @@ from pathlib import Path DATA_DIR = Path(__file__).parent / "data" def get_cities(): + print("Fetching cities...") LANGS = ["he", "ar", "en", "ru"] BASE_URL = "https://www.oref.org.il/Shared/Ajax/GetCitiesMix.aspx" for lang in LANGS: @@ -17,6 +18,7 @@ def get_cities(): f.write(res.content) def get_segments(): + print("Fetching segments...") BASE_URL = "https://dist.meser-hadash.org.il/smart-dist/services/anonymous/polygon/id/android" sess = requests.Session() -- cgit v1.3.1