diff --git a/get_youtube_videos/get_youtube_videos.py b/get_youtube_videos/get_youtube_videos.py index fe91f4f..dce4212 100644 --- a/get_youtube_videos/get_youtube_videos.py +++ b/get_youtube_videos/get_youtube_videos.py @@ -397,7 +397,7 @@ class GetYoutubeVideos: except yt_dlp.utils.DownloadError as error: if 'Requested format is not available' in f"{error}": self._log.warning( - f"Requested format is not available, trying best format." + "Requested format is not available, trying best format." ) ydl_opts['format'] = 'bestvideo+bestaudio[ext=m4a]/best' with yt_dlp.YoutubeDL(ydl_opts) as ydl: @@ -483,7 +483,9 @@ class GetYoutubeVideos: if data['status'] == 'finished': self._process_download(data) elif data['status'] == 'downloading': - downloading = True + self._log.debug( + "Still downloading..." + ) else: self._log.debug( "Progress hook got data['status']=%s instead of 'finished'",