Made that darn thing

This commit is contained in:
Leonetienne
2022-01-30 03:38:53 +01:00
commit 2373ce0416
5 changed files with 251 additions and 0 deletions

13
launch.py Normal file
View File

@@ -0,0 +1,13 @@
import yaml
import os
with open("artists.yaml", "r") as yamlfile:
try:
config = yaml.safe_load(yamlfile)
for artist in config:
print(f"\033[92mGrabbing artist '{artist}'")
os.system(f"python3 grab.py '{artist}'")
except yaml.YAMLError as exc:
print("You fucked up the yaml format.")