Exemple #1
0
def extract_pack():
    zip_file = etc['zip_file']
    conf = update.etc['conf']
    tmp_path = etc['tmp_path']
    
    # make extract path
    extract_path = os.path.join(tmp_path, conf['local']['extract_path'])
    etc['extract_path'] = extract_path
    
    # extract file
    update.extract_pack(zip_file, extract_path, msg='lieying_plugin')
def extract_pack():
    
    zip_file = etc['zip_file']
    conf = update.etc['conf']
    tmp_path = etc['tmp_path']
    
    # make extract path
    extract_path = os.path.join(tmp_path, conf['local']['youtube_dl_extract_path'])
    etc['extract_path'] = extract_path
    
    # extract file
    update.extract_pack(zip_file, extract_path, msg='youtube-dl')
def extract_pack():

    zip_file = etc['zip_file']
    conf = update.etc['conf']
    tmp_path = etc['tmp_path']

    # make extract path
    extract_path = os.path.join(tmp_path,
                                conf['local']['youtube_dl_extract_path'])
    etc['extract_path'] = extract_path

    # extract file
    update.extract_pack(zip_file, extract_path, msg='youtube-dl')