mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-07 17:33:41 +00:00
remove outdated/unnecessary cookie check
Authored by: bashonly
This commit is contained in:
parent
10cfd66f8b
commit
788140ba1d
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user