mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-29 03:55:53 +00:00
keep orig pattern
This commit is contained in:
parent
12e47f3f50
commit
10cfd66f8b
@ -52,7 +52,7 @@ class DropboxIE(InfoExtractor):
|
|||||||
|
|
||||||
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'):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user