Fix bad character in directory names

This commit is contained in:
Leonetienne 2022-02-26 14:51:19 +01:00
parent 8b46391c6c
commit 09a4b89793
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ with open("linklist-music.yaml", "r") as yamlfile:
for entry in config:
print(f"\033[92mGrabbing '{entry['url']}':")
folderName = entry["folder-name"] if "folder-name" in entry else "/\%(uploader)s"
folderName = entry["folder-name"] if "folder-name" in entry else "%(uploader)s"
os.system(f"""
yt-dlp

View File

@ -8,7 +8,7 @@ with open("linklist-videos.yaml", "r") as yamlfile:
for entry in config:
print(f"\033[92mGrabbing '{entry['url']}':")
folderName = entry["folder-name"] if "folder-name" in entry else "\%(uploader)s"
folderName = entry["folder-name"] if "folder-name" in entry else "%(uploader)s"
os.system(f"""
yt-dlp