Browse Source

[ivi] Fix python 3.4 support

master
Sergey M․ 5 years ago
parent
commit
f8015c1574
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      youtube_dl/extractor/ivi.py

+ 2
- 2
youtube_dl/extractor/ivi.py View File

@ -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


Loading…
Cancel
Save