youtube dl python download to specific folder

Solutions on MaxInterview for youtube dl python download to specific folder by the best coders in the world

showing results for - "youtube dl python download to specific folder"
Lina
26 Jan 2018
1ydl_opts = {
2    'format': 'bestaudio/best',
3  	'outtmpl': 'e:/python/downloadedsongs/%(title)s.%(ext)s', # <--- pay attention here
4    'download_archive': 'downloaded_songs.txt',
5    'outtmpl': '%(title)s.%(ext)s',
6    'postprocessors': [{
7        'key': 'FFmpegExtractAudio',
8        'preferredcodec': 'mp3',
9        'preferredquality': '192',
10        }],
11    'logger': MyLogger(),
12    'progress_hooks': [my_hook],
13
14}