aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/rutv.py
diff options
context:
space:
mode:
Diffstat (limited to 'yt_dlp/extractor/rutv.py')
-rw-r--r--yt_dlp/extractor/rutv.py5
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':