summaryrefslogtreecommitdiff
path: root/dl-artist.py
diff options
context:
space:
mode:
Diffstat (limited to 'dl-artist.py')
-rw-r--r--dl-artist.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/dl-artist.py b/dl-artist.py
index eec11f0..42abd05 100644
--- a/dl-artist.py
+++ b/dl-artist.py
@@ -201,7 +201,7 @@ while (NeedRestart):
# Construct the command as a list
command = [
- './yt-dlp_linux',
+ 'yt-dlp',
f"https://music.youtube.com/playlist?list={albumdata['audioPlaylistId']}",
'-o',
output_dir+'/'+artist_name+'/'+album_name+'/%(title)s.%(ext)s', # Adjust the path as needed
@@ -213,6 +213,8 @@ while (NeedRestart):
'--no-overwrites'
]
+ #print(*command)
+
if not do_download:
print(f'({index+1}/{len(albums)}) Skipped download of album {album_name}')
break
@@ -248,7 +250,7 @@ while (NeedRestart):
# Construct the command as a list
command = [
- './yt-dlp_linux',
+ 'yt-dlp',
f"https://music.youtube.com/playlist?list={singledata['audioPlaylistId']}",
'-o',
output_dir+'/'+artist_name+'/Singles/%(title)s.%(ext)s', # Adjust the path as needed