diff --git a/twitchdl/commands/download.py b/twitchdl/commands/download.py index 1502c83..9c4baab 100644 --- a/twitchdl/commands/download.py +++ b/twitchdl/commands/download.py @@ -124,7 +124,7 @@ def _crete_temp_dir(base_uri): path = urlparse(base_uri).path.lstrip("/") temp_dir = Path(tempfile.gettempdir(), "twitch-dl", path) temp_dir.mkdir(parents=True, exist_ok=True) - return temp_dir + return str(temp_dir) def download(args):