keep orig pattern

This commit is contained in:
bashonly 2024-11-26 00:39:11 +00:00 committed by GitHub
parent 12e47f3f50
commit 10cfd66f8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,7 +52,7 @@ def _real_extract(self, url):
for part in self._yield_decoded_parts(webpage): for part in self._yield_decoded_parts(webpage):
if '/sm/password' in part: if '/sm/password' in part:
content_id = self._search_regex(r'content_id=([\w-]+)', part, 'content ID') content_id = self._search_regex(r'content_id=([\w.+=/-]+)', part, 'content ID')
break break
if content_id and not self._get_cookies('https://dropbox.com/').get('sm_auth'): if content_id and not self._get_cookies('https://dropbox.com/').get('sm_auth'):