Fix download format
All checks were successful
Push image to registry / build-image (push) Successful in 5m27s

This commit is contained in:
2025-06-04 15:45:21 +02:00
parent 4008724169
commit 55a7b16d9e

View File

@ -22,7 +22,8 @@ class YTDLPDownloader implements IInstagramVideoDownloader
->downloadPath($downloadFolder)
->apLogin($accountEmail, $accountPassword)
->checkAllFormats(true)
->format('bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]')
//->format('bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]') // TODO allow downloading audio and video separately and then merging them
->format('best[ext=mp4]')
->url($postUrl);
try {