diff --git a/youtube_dl/extractor/tvple.py b/youtube_dl/extractor/tvple.py index 2a2a5d2cf..5755378d9 100644 --- a/youtube_dl/extractor/tvple.py +++ b/youtube_dl/extractor/tvple.py @@ -135,8 +135,8 @@ class TvpleIE(InfoExtractor): 'url': playpage['stream']['sources'][formatid]['urls']['mp4_avc'], 'ext': 'mp4', # tvple using mp4 for main format 'format_id': formatid, - 'width': playpage['stream']['width'], - 'height': playpage['stream']['height'] + 'width': int(playpage['stream']['width']), + 'height': int(playpage['stream']['height']) }) subtitles = self.extract_subtitles(playpage, title, video_id, duration, playpage['stream']['width'], playpage['stream']['height'])