diff options
author | Jesús <heckyel@hyperbola.info> | 2022-04-06 03:37:17 +0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-04-06 03:37:17 +0800 |
commit | 1e5a50b71d8f0eae6007bedc329eecb24bb5aba3 (patch) | |
tree | a8611cda6596391cb6fb645e1469dcd356b63924 /hypervideo_dl/extractor/keezmovies.py | |
parent | f52fb3bceeb9d22b5106c1796fecec474a0cc138 (diff) | |
download | hypervideo-1e5a50b71d8f0eae6007bedc329eecb24bb5aba3.tar.lz hypervideo-1e5a50b71d8f0eae6007bedc329eecb24bb5aba3.tar.xz hypervideo-1e5a50b71d8f0eae6007bedc329eecb24bb5aba3.zip |
update from upstream
Diffstat (limited to 'hypervideo_dl/extractor/keezmovies.py')
-rw-r--r-- | hypervideo_dl/extractor/keezmovies.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hypervideo_dl/extractor/keezmovies.py b/hypervideo_dl/extractor/keezmovies.py index 027f43c..06dbcbb 100644 --- a/hypervideo_dl/extractor/keezmovies.py +++ b/hypervideo_dl/extractor/keezmovies.py @@ -8,6 +8,7 @@ from ..compat import compat_urllib_parse_unquote from ..utils import ( determine_ext, ExtractorError, + format_field, int_or_none, str_to_int, strip_or_none, @@ -69,7 +70,7 @@ class KeezMoviesIE(InfoExtractor): video_url, title, 32).decode('utf-8') formats.append({ 'url': format_url, - 'format_id': '%dp' % height if height else None, + 'format_id': format_field(height, template='%dp'), 'height': height, 'tbr': tbr, }) |