mirror of
https://github.com/nadimkobeissi/mkbsd.git
synced 2024-12-22 20:15:06 +00:00
comments
This commit is contained in:
parent
d11996f24d
commit
4f62717019
2
mkbsd.py
2
mkbsd.py
@ -60,7 +60,7 @@ async def main():
|
|||||||
file_extension = raw_file_name.split('.')[-1]
|
file_extension = raw_file_name.split('.')[-1]
|
||||||
sanitized_file_name = file_name.replace('~', ' ')
|
sanitized_file_name = file_name.replace('~', ' ')
|
||||||
file_path = os.path.join(artist_dir, f"{sanitized_file_name}." + file_extension)
|
file_path = os.path.join(artist_dir, f"{sanitized_file_name}." + file_extension)
|
||||||
print(f"📄 File path: {file_path}")
|
# print(f"📄 File path: {file_path}")
|
||||||
|
|
||||||
await download_image(session, image_url, file_path)
|
await download_image(session, image_url, file_path)
|
||||||
print(f"🖼️ Saved image to {file_path}")
|
print(f"🖼️ Saved image to {file_path}")
|
||||||
|
Loading…
Reference in New Issue
Block a user