From d709379305ba80223725646efdccea79894c687a Mon Sep 17 00:00:00 2001 From: msglm Date: Sat, 11 Jan 2025 19:11:24 -0600 Subject: Pass the site name to youtube-dl --- stashley/stashley.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stashley/stashley.py b/stashley/stashley.py index 61eaa9a..16af706 100644 --- a/stashley/stashley.py +++ b/stashley/stashley.py @@ -66,7 +66,7 @@ def videohost(sitename: str, urls: list[str]): 'format': 'bestvideo[height>=720][fps>=60]+bestaudio/bestvideo+bestaudio/best', 'fragment_retries': 10, 'ignoreerrors': True, - 'outtmpl': {'default': 'YouTube/%(uploader|author)s/%(title)s.%(ext)s'}, + 'outtmpl': {'default': sitename + '/%(uploader|author)s/%(title)s.%(ext)s'}, 'postprocessors': [{'key': 'FFmpegConcat', 'only_multi_video': True, 'when': 'playlist'}], -- cgit v1.2.3