aboutsummaryrefslogtreecommitdiff
path: root/yt_dlp/extractor/common.py
diff options
context:
space:
mode:
authorsepro <sepro@sepr0.com>2024-09-14 00:54:41 +0200
committerGitHub <noreply@github.com>2024-09-13 22:54:41 +0000
commit409f8e9e3b4bde81ef76fc563256f876d2ff8099 (patch)
tree3df7d293b834259673275dccfc2118dd66e3f05f /yt_dlp/extractor/common.py
parentb4760c778d0c92c6e3f2bc8346cd72c8f08595ae (diff)
[ie] Fix JW Player format parsing (#10956)
Authored by: seproDev
Diffstat (limited to 'yt_dlp/extractor/common.py')
-rw-r--r--yt_dlp/extractor/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/common.py b/yt_dlp/extractor/common.py
index 187f73e7b..432db9daf 100644
--- a/yt_dlp/extractor/common.py
+++ b/yt_dlp/extractor/common.py
@@ -3489,7 +3489,7 @@ class InfoExtractor:
continue
urls.add(source_url)
source_type = source.get('type') or ''
- ext = mimetype2ext(source_type) or determine_ext(source_url)
+ ext = determine_ext(source_url, default_ext=mimetype2ext(source_type))
if source_type == 'hls' or ext == 'm3u8' or 'format=m3u8-aapl' in source_url:
formats.extend(self._extract_m3u8_formats(
source_url, video_id, 'mp4', entry_protocol='m3u8_native',