aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Ritchie <luc.ritchie@gmail.com>2021-10-29 14:17:10 -0400
committerGitHub <noreply@github.com>2021-10-29 23:47:10 +0530
commitaeaf3b2b92bc4ab8b6f5d90c053aa43d93ab64e1 (patch)
treea0cd30f78e46dca3d04aa615246e9f0c8d05c884
parent7b5f3f7c3d87d1bb711f6a76007a352a851e80ca (diff)
downloadhypervideo-pre-aeaf3b2b92bc4ab8b6f5d90c053aa43d93ab64e1.tar.lz
hypervideo-pre-aeaf3b2b92bc4ab8b6f5d90c053aa43d93ab64e1.tar.xz
hypervideo-pre-aeaf3b2b92bc4ab8b6f5d90c053aa43d93ab64e1.zip
[Coub] Fix media format identification (#1469)
Authored by: wlritchi
-rw-r--r--yt_dlp/extractor/coub.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/yt_dlp/extractor/coub.py b/yt_dlp/extractor/coub.py
index eba6b73ba..e90aa1954 100644
--- a/yt_dlp/extractor/coub.py
+++ b/yt_dlp/extractor/coub.py
@@ -57,7 +57,7 @@ class CoubIE(InfoExtractor):
file_versions = coub['file_versions']
- QUALITIES = ('low', 'med', 'high')
+ QUALITIES = ('low', 'med', 'high', 'higher')
MOBILE = 'mobile'
IPHONE = 'iphone'
@@ -86,6 +86,7 @@ class CoubIE(InfoExtractor):
'format_id': '%s-%s-%s' % (HTML5, kind, quality),
'filesize': int_or_none(item.get('size')),
'vcodec': 'none' if kind == 'audio' else None,
+ 'acodec': 'none' if kind == 'video' else None,
'quality': quality_key(quality),
'source_preference': preference_key(HTML5),
})