diff --git a/app/ytdl.py b/app/ytdl.py index 38e29b8..0128329 100644 --- a/app/ytdl.py +++ b/app/ytdl.py @@ -72,7 +72,8 @@ class Download: 'quiet': True, 'no_color': True, #'skip_download': True, - 'outtmpl': os.path.join(self.download_dir, self.output_template), + 'paths': {"home": self.download_dir}, + 'outtmpl': { "default": self.output_template}, 'format': self.format, 'cachedir': False, 'socket_timeout': 30,