1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-02 17:22:31 +01:00

[ivi] Fix python 3.4 support

This commit is contained in:
Sergey M․ 2019-11-21 23:38:39 +07:00
parent 25d3f770e6
commit f8015c1574
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D

View File

@ -91,10 +91,10 @@ def _real_extract(self, url):
'contentid': video_id 'contentid': video_id
} }
] ]
}).encode() })
for site in (353, 183): for site in (353, 183):
content_data = data % site content_data = (data % site).encode()
if site == 353: if site == 353:
try: try:
from Cryptodome.Cipher import Blowfish from Cryptodome.Cipher import Blowfish