summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2025-01-11 19:11:24 -0600
committermsglm <msglm@techchud.xyz>2025-01-11 19:11:24 -0600
commitd709379305ba80223725646efdccea79894c687a (patch)
tree4116c9e40a0c99f00bcbd914f4d20838cb4708cc
parent13c2288febd8a285cf05d4df464af4b92849f572 (diff)
downloadstashley-master.tar.gz
stashley-master.tar.bz2
stashley-master.zip
Pass the site name to youtube-dlHEADv2.0.3master
-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'}],