mirror of
https://github.com/yt-dlp/yt-dlp
synced 2024-12-28 22:24:34 +01:00
[GoogleDriveFolderIE] add bare raise in the except block
This commit is contained in:
parent
8623ada293
commit
28ed64d87a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue