fix width and height error
This commit is contained in:
parent
86fd62ce46
commit
70b464a666
@ -135,8 +135,8 @@ class TvpleIE(InfoExtractor):
|
|||||||
'url': playpage['stream']['sources'][formatid]['urls']['mp4_avc'],
|
'url': playpage['stream']['sources'][formatid]['urls']['mp4_avc'],
|
||||||
'ext': 'mp4', # tvple using mp4 for main format
|
'ext': 'mp4', # tvple using mp4 for main format
|
||||||
'format_id': formatid,
|
'format_id': formatid,
|
||||||
'width': playpage['stream']['width'],
|
'width': int(playpage['stream']['width']),
|
||||||
'height': playpage['stream']['height']
|
'height': int(playpage['stream']['height'])
|
||||||
})
|
})
|
||||||
|
|
||||||
subtitles = self.extract_subtitles(playpage, title, video_id, duration, playpage['stream']['width'], playpage['stream']['height'])
|
subtitles = self.extract_subtitles(playpage, title, video_id, duration, playpage['stream']['width'], playpage['stream']['height'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user