mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 04:05:39 +01:00
Store quality as integers and not strings
This commit is contained in:
parent
f12287a949
commit
1a0c3e4693
@ -517,7 +517,7 @@ class Svtplay():
|
||||
streams = {}
|
||||
for f in tmp:
|
||||
match = re.search('url:(.*)\,bitrate:([0-9]+)', f)
|
||||
streams[match.group(2)] = match.group(1)
|
||||
streams[int(match.group(2))] = match.group(1)
|
||||
|
||||
filename = select_quality(self.options, streams)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user