Update yt_dlp/extractor/googledrive.py

This commit is contained in:
N/Ame 2024-09-28 20:59:50 +12:00 committed by GitHub
parent d133c2c7f7
commit beb76094fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -369,7 +369,7 @@ class GoogleDriveFolderIE(InfoExtractor):
self.raise_login_required('Access Denied!')
raise
if urllib.parse.urlparse(urlh.url).netloc == 'accounts.google.com':
self.raise_login_required('This video is only available for registered users')
self.raise_login_required('Access Denied!')
json_folder_info = (
self._extract_json_meta(webpage, folder_id, dsval=0, name='folder info', default=None)