LetoDMS Zikula Nibbleblog炸了

def doDownload(i):
subprocess.run([‘youtube-dl’, ‘-o’, f'{i[0]}.flv’, f'{i[1]}’])

if __name__ == “__main__”:
bvids = getvideoList()
with concurrent.futures.ThreadPoolExecutor(max_workers=4) as ex:
for item in bvids:
ex.submit(doDownload, item)

LetoDMS炸了 subprocess.run()Nibbleblog shell Zikula youtube-dl