Fixed string url parse

This commit is contained in:
Dimitris Zlatanidis 2023-01-17 21:53:38 +02:00
parent 26ebca4589
commit 8d091b4ec0

View file

@ -35,7 +35,7 @@ class Downloader(Configs):
def wget(self):
""" Wget downloader. """
self.output = subprocess.call(f'wget {self.wget_options} --directory-prefix={self.path} {self.url}',
self.output = subprocess.call(f'wget {self.wget_options} --directory-prefix={self.path} "{self.url}"',
shell=True, stderr=self.stderr, stdout=self.stdout)
if self.output != 0:
raise SystemExit(self.output)