From: Sergey M․ Date: Thu, 21 Nov 2019 16:38:39 +0000 (+0700) Subject: [ivi] Fix python 3.4 support X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=f8015c15746e83394ecc395c6a13823d20971772;p=youtube-dl [ivi] Fix python 3.4 support --- diff --git a/youtube_dl/extractor/ivi.py b/youtube_dl/extractor/ivi.py index 52b53bfeb..315ea03fa 100644 --- a/youtube_dl/extractor/ivi.py +++ b/youtube_dl/extractor/ivi.py @@ -91,10 +91,10 @@ class IviIE(InfoExtractor): 'contentid': video_id } ] - }).encode() + }) for site in (353, 183): - content_data = data % site + content_data = (data % site).encode() if site == 353: try: from Cryptodome.Cipher import Blowfish