diff options
| author | Yuval Adam <_@yuv.al> | 2023-10-22 12:14:18 +0200 |
|---|---|---|
| committer | Yuval Adam <_@yuv.al> | 2023-10-22 12:14:18 +0200 |
| commit | ad0cc0b2e8aa36e0866d51d025abdc0ccad1600c (patch) | |
| tree | ad238b7e145c347c8bab2b5375f93021eecce521 | |
| parent | a5697c03f789ba6cff637ee468a6d536f6238c85 (diff) | |
Add prints
| -rw-r--r-- | pakarlib/build.py | 2 |
1 files changed, 2 insertions, 0 deletions
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() |
