mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-07 21:24:28 +08:00
[prosiebensat1] Fix type error in bitrate calculation
This commit is contained in:
@@ -266,6 +266,7 @@ class ProSiebenSat1IE(InfoExtractor):
|
||||
urls_sources = urls_sources.values()
|
||||
|
||||
def fix_bitrate(bitrate):
|
||||
bitrate = int(bitrate)
|
||||
return (bitrate // 1000) if bitrate % 1000 == 0 else bitrate
|
||||
|
||||
for source in urls_sources:
|
||||
|
||||
Reference in New Issue
Block a user