mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-28 08:21:41 +00:00
[prosiebensat1] Fix bitrate calculation
This commit is contained in:
parent
9291475f7d
commit
5309602106
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ def _real_extract(self, url):
|
|||
urls_sources = urls_sources.values()
|
||||
|
||||
def fix_bitrate(bitrate):
|
||||
return bitrate / 1000 if bitrate % 1000 == 0 else bitrate
|
||||
return (bitrate // 1000) if bitrate % 1000 == 0 else bitrate
|
||||
|
||||
for source in urls_sources:
|
||||
protocol = source['protocol']
|
||||
|
|
Loading…
Reference in a new issue