python调用youtube_dl常用参数 Posted on 2021-05-22 Valine: ydl_opts 123456789def down(data,name): ydl_opts = { 'nooverwrites': True, 'ignoreerrors': True, 'retries': True, 'outtmpl': name, } with youtube_dl.YoutubeDL(ydl_opts) as ydl: ydl.download([data])