how to set directory in ydl_opts in using youtube-dl in python?

前端 未结 1 1182
误落风尘
误落风尘 2021-02-06 02:12
**

What do i need to add to specify that all the download mp3 will go to this directory: e:/python/downloadedsongs

ydl_opts = {
    \'f         


        
相关标签:
1条回答
  • 2021-02-06 02:48

    outtmpl can contain directory names, simply set

    'outtmpl': 'e:/python/downloadedsongs/%(title)s.%(ext)s',
    
    0 讨论(0)
提交回复
热议问题