From 7b87f41f2f2d835900e6dbfcbca576d0f143f08d Mon Sep 17 00:00:00 2001 From: dutta-alankar Date: Sun, 28 Apr 2024 12:07:58 +0200 Subject: [PATCH] [ENH] minor comments in database download to capture 429 error --- astro_plasma/core/download_database.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/astro_plasma/core/download_database.py b/astro_plasma/core/download_database.py index 61109db..c033446 100644 --- a/astro_plasma/core/download_database.py +++ b/astro_plasma/core/download_database.py @@ -22,7 +22,9 @@ def fetch_list_from_url(link_list_url: str) -> List[str]: + # print(link_list_url) response = requests.get(link_list_url, stream=True) + # print(response) links = response.content.decode("utf-8").split("\n") return links