aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/dropbox.py
diff options
context:
space:
mode:
authorbashonly <bashonly@bashonly.com>2023-08-29 08:06:02 -0500
committerbashonly <bashonly@bashonly.com>2023-08-29 08:06:02 -0500
commit099fb1b35cf835303306549f5113d1802d79c9c7 (patch)
treed2fcf41c12cbc18e2a21c620b0a263b5cc2900d1 /yt_dlp/extractor/dropbox.py
parent4b3a6ef1b3e235ba9a45142830b6edb357c71696 (diff)
downloadhypervideo-pre-099fb1b35cf835303306549f5113d1802d79c9c7.tar.lz
hypervideo-pre-099fb1b35cf835303306549f5113d1802d79c9c7.tar.xz
hypervideo-pre-099fb1b35cf835303306549f5113d1802d79c9c7.zip
Bugfix for b9f2bc2dbed2323734a0d18e65e1e2e23dc833d8
Authored by: bashonly
Diffstat (limited to 'yt_dlp/extractor/dropbox.py')
-rw-r--r--yt_dlp/extractor/dropbox.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/dropbox.py b/yt_dlp/extractor/dropbox.py
index ec86d7ad2..bc2efce12 100644
--- a/yt_dlp/extractor/dropbox.py
+++ b/yt_dlp/extractor/dropbox.py
@@ -66,10 +66,10 @@ class DropboxIE(InfoExtractor):
for encoded in reversed(re.findall(r'registerStreamedPrefetch\s*\(\s*"[\w/+=]+"\s*,\s*"([\w/+=]+)"', webpage)):
decoded = base64.b64decode(encoded).decode('utf-8', 'ignore')
transcode_url = self._search_regex(
- r'\n\x03(https://[^\x12\x03\n]+\.m3u8)', decoded, 'transcode url', default=None)
+ r'\n.(https://[^\x03\x08\x12\n]+\.m3u8)', decoded, 'transcode url', default=None)
if not transcode_url:
continue
- formats, subtitles = self._extract_m3u8_formats_and_subtitles(transcode_url, video_id)
+ formats, subtitles = self._extract_m3u8_formats_and_subtitles(transcode_url, video_id, 'mp4')
has_anonymous_download = self._search_regex(r'(anonymous:\tanonymous)', decoded, 'anonymous', default=False)
break