From 55a7b16d9eeafafc1532f7bae1edafe3351b3fd7 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Wed, 4 Jun 2025 15:45:21 +0200 Subject: [PATCH] Fix download format --- app/Browser/Jobs/InstagramRepost/YTDLPDownloader.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Browser/Jobs/InstagramRepost/YTDLPDownloader.php b/app/Browser/Jobs/InstagramRepost/YTDLPDownloader.php index b0e7402..966769f 100644 --- a/app/Browser/Jobs/InstagramRepost/YTDLPDownloader.php +++ b/app/Browser/Jobs/InstagramRepost/YTDLPDownloader.php @@ -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 {