diff --git a/SaveMyPlaylist.py b/SaveMyPlaylist.py index 0366260dae974656d7cf1e6ae7a35fc8a476555e..1c57b55dc871497cda64acf0f1658f686fe30947 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: