From 581abfdf9d6001a80765d0fc244762cb7ec1ffd6 Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Mon, 6 Apr 2020 22:36:50 +0200
Subject: [PATCH] Fixed #2 - download is only audio

---
 SaveMyPlaylist.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/SaveMyPlaylist.py b/SaveMyPlaylist.py
index 0366260..1c57b55 100644
--- a/SaveMyPlaylist.py
+++ b/SaveMyPlaylist.py
@@ -8,7 +8,6 @@ import googleapiclient.discovery
 import googleapiclient.errors
 import youtube_dl
 
-
 VERSION = (2, 0, 0)
 
 
@@ -111,11 +110,11 @@ class SaveMyPlaylist:
             newVideos.append(item)
 
             ydl_opts = {
-                'format': 'bestaudio/best',
+                'format': 'bestvideo+bestaudio',
                 'merge_output_format': 'mp4',
                 'outtmpl': os.path.join(destinationFolder, fileName),
                 'logger': MyLogger(),
-                'progress_hooks': [my_hook],
+                'progress_hooks': [my_hook]
             }
 
             if debug:
-- 
GitLab