File size: 262 Bytes
0aee47a
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""

ivitools.touch



获取 ivi 文件信息

"""
import json
import zipfile


def touch_ivi(path: str):
    ivi = zipfile.ZipFile(open(path, "rb"))
    info = ivi.open("bilivideo.json").read()
    print(json.loads(info))
    return json.loads(info)