Browse Source

change backup url

luojunhui 1 năm trước cách đây
mục cha
commit
921c5fa674

+ 1 - 0
applications/utils/download_video.py

@@ -132,6 +132,7 @@ def decrypt_sph_video(video_path: str, key: int,  save_path: str) -> None:
             encrypted_data = f.read()
             encrypted_data = f.read()
 
 
         c_data = ffi.new('unsigned char[]', list(encrypted_data))
         c_data = ffi.new('unsigned char[]', list(encrypted_data))
+        print(type(key))
         lib.decrypt(c_data, 2 ** 17, key)
         lib.decrypt(c_data, 2 ** 17, key)
         decrypted_data = bytes(ffi.buffer(c_data, len(encrypted_data))[:])
         decrypted_data = bytes(ffi.buffer(c_data, len(encrypted_data))[:])