From 28ed64d87a4bfb7c27b96124c2dab41e9ba2c614 Mon Sep 17 00:00:00 2001 From: grqx_wsl <173253225+grqx@users.noreply.github.com> Date: Sat, 17 Aug 2024 23:49:56 +1200 Subject: [PATCH] [GoogleDriveFolderIE] add bare raise in the except block --- yt_dlp/extractor/googledrive.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/googledrive.py b/yt_dlp/extractor/googledrive.py index 4603611dcc..a77ca24c07 100644 --- a/yt_dlp/extractor/googledrive.py +++ b/yt_dlp/extractor/googledrive.py @@ -362,6 +362,7 @@ class GoogleDriveFolderIE(InfoExtractor): except ExtractorError as e: if isinstance(e.cause, HTTPError) and e.cause.status == 404: self.raise_no_formats(e.cause.msg) + raise if urllib.parse.urlparse(urlh.url).netloc == 'accounts.google.com': self.raise_login_required('This video is only available for registered users')