WHTJEON/narrowvine-reborn

empty

joostshao opened this issue · 1 comments

empty

Unable to replicate

$ python narrowvine_reborn.py -mpd "https://.cloudfront.net//EncodedVideo/uploads/movie_stream/full_movie//stream.mpd" -lic "https://license.pallycon.com/ri/licenseManager.do?pallycon-customdata-v2="

**** NARROWVINE-REBORN by vank0n ****
-------------------------------------------------------------------------------
[info] Entering Download Section
-------------------------------------------------------------------------------
[info] Downloading Encrypted Video from CDN..
[generic] stream: Requesting header
ERROR: encoding with 'idna' codec failed (UnicodeError: label empty or too long)
[info] Downloading Encrypted Audio from CDN..
[generic] stream: Requesting header
ERROR: encoding with 'idna' codec failed (UnicodeError: label empty or too long)
[info] Attempting Widevine challenge...
[info] Getting Keys...
ERROR: cannot open input (-4)
Traceback (most recent call last):
  File "/ext/Downloads/narrowvine-reborn-master/narrowvine_reborn.py", line 235, in <module>
    KEYS = do_decrypt(licurl=licurl, kid=get_kid(),headers=headers)
  File "/ext/Downloads/narrowvine-reborn-master/narrowvine_reborn.py", line 161, in do_decrypt
    pssh = createpsshfromkid(kid)
  File "/ext/Downloads/narrowvine-reborn-master/narrowvine_reborn.py", line 158, in createpsshfromkid
    return get_pssh(kid).decode('utf-8')
  File "/ext/Downloads/narrowvine-reborn-master/narrowvine_reborn.py", line 151, in get_pssh
    array_of_bytes.extend(bytes.fromhex(keyId.replace('-', '')))
ValueError: non-hexadecimal number found in fromhex() arg at position 0