summaryrefslogtreecommitdiff
path: root/scrap/main.py
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-09-25 11:06:21 +0200
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-09-25 11:06:21 +0200
commitbd96e6ec555c63ec6b24aaa681e9f02576551a27 (patch)
tree90c92be4cb4237720008912efbf159ae4a2a681f /scrap/main.py
parent8cbd3d92ac1a30ecbbb60929a3430c9f29671b3f (diff)
update scrap
Diffstat (limited to 'scrap/main.py')
-rw-r--r--scrap/main.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/scrap/main.py b/scrap/main.py
index 72a9929..eda213a 100644
--- a/scrap/main.py
+++ b/scrap/main.py
@@ -5,11 +5,10 @@ import database
def start():
- print("do you want to download the json data from genius? [y, n] ", end="")
- if input().lower() == "y":
- api.download_albums(album_data)
- print("download finished!")
+ print("downloading data...")
+ api.download_albums(album_data)
+ print("uploading data...")
database.setup()
upload_albums(
get_album_data(),
@@ -17,7 +16,7 @@ def start():
)
database.close()
print("upload finished!")
- print("remember to move the covers directory once you're done!")
+ print("remember to move the covers directory once you're done")
def upload_albums(album_data, artist_names):