ydl_opts = {
'verbose': True, #like this
'format': '{}'.format(int(comboget)), #format,vebrose,ottmpl
'outtmpl': '%(title)s-%(id)s.%(ext)s', #how can i find
'noplaylist': mt, #all dictionary
'logger': MyLogger(), #options
'progress_hooks': [durum], #how can i find
}
ydl = youtube_dl.YoutubeDL(ydl_opts)
ydl.download([url])
我怎么能在这里找到所有的ydl选项https://github.com/rg3/youtube-dl
Python模块的所有选项都列在YoutubeDL.py中
这是一个小节选
相关问题 更多 >
编程相关推荐