Переход от месива из баш скриптов к нормальному питоновскому коду #5

Merged
lulzette merged 32 commits from move-to-python into master 2022-11-13 12:45:18 +03:00
Showing only changes of commit 52335dd676 - Show all commits

View File

@ -62,8 +62,7 @@ def recorder(i):
path = config_python.path + "/" + i
log.info("Записываем стрим %s\n" % i)
# cmdline для запуска youtube-dl
cmdline = ["youtube-dl", "-q", ytdl_options,
"-o",
cmdline = ["youtube-dl", "-q", "-o",
path+"/%(upload_date)s_%(title)s__%(timestamp)s_%(id)s.%(ext)s",
"https://twitch.tv/" + i]
s = subprocess.call(cmdline)