summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechchud <protrude_paying969@simplelogin.com>2025-08-17 19:35:25 -0500
committertechchud <protrude_paying969@simplelogin.com>2025-08-17 19:35:25 -0500
commitbd4a3a8458ca6f9ff6f0cde3ab43c6509b3bbb4f (patch)
tree4116c9e40a0c99f00bcbd914f4d20838cb4708cc
parent9b5d507a535a01ac46293187edf11d7222b1f10d (diff)
downloadstashley-bd4a3a8458ca6f9ff6f0cde3ab43c6509b3bbb4f.tar.gz
stashley-bd4a3a8458ca6f9ff6f0cde3ab43c6509b3bbb4f.tar.bz2
stashley-bd4a3a8458ca6f9ff6f0cde3ab43c6509b3bbb4f.zip
Pass the site name to youtube-dl
-rw-r--r--stashley/stashley.py2
1 files changed, 1 insertions, 1 deletions
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'}],