1
Fork 0
mirror of https://github.com/Steffo99/youtubedlez.git synced 2024-11-22 07:44:19 +00:00

🐛 Properly apply postprocessors

This commit is contained in:
Steffo 2021-04-13 17:17:18 +02:00
parent 0badcddcd2
commit edc879a12d
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -48,7 +48,8 @@ print()
with youtube_dl.YoutubeDL({
"noplaylist": True,
"prefer_ffmpeg": True,
"outtmpl": f"{dl_location}/%(extractor)s__%(title)s.%(ext)s"
"outtmpl": f"{dl_location}/%(extractor)s__%(title)s.%(ext)s",
"postprocessors": postprocessors,
}) as ytdl:
ytdl.download([dl_url])
print()