mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-26 22:56:51 +01:00
keep orig pattern
This commit is contained in:
parent
12e47f3f50
commit
10cfd66f8b
@ -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'):
|
||||||
|
Loading…
Reference in New Issue
Block a user