diff options
author | Jesús <heckyel@hyperbola.info> | 2022-03-06 01:41:10 +0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-03-06 01:41:10 +0800 |
commit | 4dca2c43485c9aebf8437e0dae86668a0b969b20 (patch) | |
tree | e41138b3d2f5918a18a1aee65802554d837a26b0 /yt_dlp/extractor/rutv.py | |
parent | f4f05a6915b8683655b073654d58f70a92f96330 (diff) | |
parent | d49669acad71f640ffd8b78f0ea7911ae1f67720 (diff) | |
download | hypervideo-pre-4dca2c43485c9aebf8437e0dae86668a0b969b20.tar.lz hypervideo-pre-4dca2c43485c9aebf8437e0dae86668a0b969b20.tar.xz hypervideo-pre-4dca2c43485c9aebf8437e0dae86668a0b969b20.zip |
updated from upstream | 06/03/2022 at 01:41
Diffstat (limited to 'yt_dlp/extractor/rutv.py')
-rw-r--r-- | yt_dlp/extractor/rutv.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/yt_dlp/extractor/rutv.py b/yt_dlp/extractor/rutv.py index 3de86b232..66ac32deb 100644 --- a/yt_dlp/extractor/rutv.py +++ b/yt_dlp/extractor/rutv.py @@ -6,7 +6,8 @@ import re from .common import InfoExtractor from ..utils import ( ExtractorError, - int_or_none + int_or_none, + str_to_int ) @@ -179,7 +180,7 @@ class RUTVIE(InfoExtractor): 'player_url': 'http://player.rutv.ru/flash3v/osmf.swf?i=22', 'rtmp_live': True, 'ext': 'flv', - 'vbr': int(quality), + 'vbr': str_to_int(quality), 'quality': preference, } elif transport == 'm3u8': |