[trollvids] convert duration to an int
This commit is contained in:
parent
e0bd46eedc
commit
16afcbaa5f
@ -42,7 +42,7 @@ class TrollvidsIE(InfoExtractor):
|
||||
elif tag == "filehd":
|
||||
hdformats.append({"url": val})
|
||||
elif tag == "duration":
|
||||
info["duration"] = float(val)
|
||||
info["duration"] = int(float(val))
|
||||
elif tag == "image":
|
||||
info["thumbnail"] = val
|
||||
elif tag == "title":
|
||||
|
Loading…
x
Reference in New Issue
Block a user