65 lines
1.5 KiB
INI
65 lines
1.5 KiB
INI
[app]
|
|
_listen_port = 5011
|
|
_enable_redis = false
|
|
_skip_info_dict = true
|
|
|
|
;;;
|
|
;;; Locations
|
|
;;;
|
|
[location:DEFAULT]
|
|
paths = {"home" : "./downloads/"}
|
|
|
|
;;;
|
|
;;; Templates
|
|
;;;
|
|
[template:DEFAULT]
|
|
outtmpl = {"default" : "videos/%(webpage_url_domain)s/%(title)s_(%(height)s).%(ext)s"}
|
|
|
|
[template:AUDIO]
|
|
outtmpl = {"default" : "audio/%(title)s.%(ext)s", "chapter" : "audio/%(title)s/%(section_number)s-%(section_title)s.%(ext)s"}
|
|
|
|
;;;
|
|
;;; Presets
|
|
;;;
|
|
[preset:DEFAULT]
|
|
_location = DEFAULT
|
|
_template = DEFAULT
|
|
quiet = true
|
|
noplaylist = true
|
|
updatetime = false
|
|
format = bestvideo+bestaudio/best
|
|
restrictfilenames = true
|
|
windowsfilenames = true
|
|
ignoreerrors = true
|
|
_when_playlist = {"ignoreerrors" : true}
|
|
|
|
[preset:AUDIO]
|
|
_template = AUDIO
|
|
format = bestaudio
|
|
postprocessors = [{"key": "FFmpegExtractAudio", "preferredcodec": "mp3", "preferredquality": "320"}, {"key": "EmbedThumbnail"},{"key" : "FFmpegMetadata"}, {"key": "FFmpegSplitChapters", "force_keyframes": false}]
|
|
writethumbnail = true
|
|
|
|
[preset:BEST]
|
|
format = bestvideo+bestaudio/best
|
|
|
|
[preset:FULLHD]
|
|
format = best[height=1080]/bestvideo[height=1080]+bestaudio/best
|
|
|
|
[preset:HD]
|
|
format = best[height=720]/bestvideo[height=720]+bestaudio/best
|
|
|
|
[preset:SD]
|
|
format = best[height=360]/bestvideo[height=360]+bestaudio/best
|
|
|
|
;;;
|
|
;;; Sites
|
|
;;;
|
|
[site:KNOWN]
|
|
ignoreerrors = false
|
|
|
|
[site:YOUTUBE]
|
|
_hosts = music.youtube.com,www.youtube.com,youtu.be
|
|
_video_indicators = /watch?
|
|
_playlist_indicators = ?list=,&list=,/user/,/playlists,/videos,/featured,/channel
|
|
_site = KNOWN
|