[GoogleDriveFolderIE] add bare raise in the except block

pull/10501/head
grqx_wsl 1 year ago
parent 8623ada293
commit 28ed64d87a

@ -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')

Loading…
Cancel
Save