From 788140ba1da8013ec9ca4e4f76c8cd8181921e9d Mon Sep 17 00:00:00 2001 From: bashonly Date: Tue, 26 Nov 2024 19:40:45 -0600 Subject: [PATCH] remove outdated/unnecessary cookie check Authored by: bashonly --- yt_dlp/extractor/dropbox.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/dropbox.py b/yt_dlp/extractor/dropbox.py index 9326c00f6c..2bfeebc7cb 100644 --- a/yt_dlp/extractor/dropbox.py +++ b/yt_dlp/extractor/dropbox.py @@ -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 ', expected=True)