diff --git a/downloaders/downloader.py b/downloaders/downloader.py index faed8e1..4b1e929 100755 --- a/downloaders/downloader.py +++ b/downloaders/downloader.py @@ -51,7 +51,7 @@ def downloadYouTube(self, fileName, destinationDirectory, link): tempFilePath = os.path.join(DL_DIRECTORY, fileName) destinationPath = os.path.join(destinationDirectory, fileName) options = { - 'format': 'bestvideo[ext=mp4]+bestaudio[ext=m4a]', + 'format': 'bestvideo[vcodec^=avc]+bestaudio[ext=m4a]', 'default_search': 'auto', 'restrictfilenames': True, 'prefer_ffmpeg': True,