logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: f8015c15746e83394ecc395c6a13823d20971772
parent 25d3f770e6ef518a4230ad41bd4ea69dd2e851af
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 21 Nov 2019 23:38:39 +0700

[ivi] Fix python 3.4 support

Diffstat:

Myoutube_dl/extractor/ivi.py4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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