diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-11-21 23:38:39 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-11-21 23:38:39 +0700 |
commit | f8015c15746e83394ecc395c6a13823d20971772 (patch) | |
tree | a332a9d87b52462caec56e72673ad2a427edc444 | |
parent | 25d3f770e6ef518a4230ad41bd4ea69dd2e851af (diff) |
[ivi] Fix python 3.4 support
-rw-r--r-- | youtube_dl/extractor/ivi.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |