2
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-14 15:22:35 +00:00

[extractor/rai] Minor fix ()

Closes , 
This commit is contained in:
nixxo 2022-08-18 22:58:59 +02:00 committed by GitHub
parent 7d3b98be4c
commit 4d37d4a77c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,7 +156,7 @@ class RaiBaseIE(InfoExtractor):
br = int_or_none(tbr)
if len(fmts) == 1 and not br:
br = fmts[0].get('tbr')
if br or 0 > 300:
if br and br > 300:
tbr = compat_str(math.floor(br / 100) * 100)
else:
tbr = '250'