remove outdated/unnecessary cookie check

Authored by: bashonly
This commit is contained in:
bashonly 2024-11-26 19:40:45 -06:00
parent 10cfd66f8b
commit 788140ba1d
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -55,7 +55,7 @@ class DropboxIE(InfoExtractor):
content_id = self._search_regex(r'content_id=([\w.+=/-]+)', part, 'content ID')
break
if content_id and not self._get_cookies('https://dropbox.com/').get('sm_auth'):
if content_id:
password = self.get_param('videopassword')
if not password:
raise ExtractorError('Password protected video, use --video-password <password>', expected=True)