Не может найти его нигде. Я действительно знаю, что это входит /etc/youtube-dl.conf
или ~/.config/youtube-dl/config
.
Нет никакого формата. Просто поместите параметры командной строки в файл, например, --extract-audio --no-mtime
Так одна строка на параметр конфигурации, например, для изменения каталога по умолчанию, сохраняющего стандартное имя файла, просто эта строка была бы необходима:
-o '~/Downloads/%(title)s-%(id)s.%(ext)s'
Попробуйте это:
w3@aardvark:~(0)$ apt-cache search youtube-dl
youtube-dl - downloader of videos from YouTube and other sites
nicovideo-dl - Download videos from www.nicovideo.jp
w3@aardvark:~(0)$ dpkg -l !$
dpkg -l youtube-dl
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=====================================-=======================-=======================-================================================================================
ii youtube-dl 2014.02.17-1 all downloader of videos from YouTube and other sites
w3@aardvark:~(0)$ dpkg -L !$
dpkg -L youtube-dl
/.
/etc
/etc/bash_completion.d
/etc/bash_completion.d/youtube-dl.bash-completion
И т.д - перечисляющий все файлы в youtube-dl
пакет, включая,
/usr/share/man/man1/youtube-dl.1.gz
И, если Вы читаете man youtube-dl
, это скажет Вам:
CONFIGURATION
You can configure youtube-dl by placing default arguments (such as --extract-audio --no-mtime to always extract the audio and not copy the mtime) into
/etc/youtube-dl.conf and/or ~/.config/youtube-dl.conf. On Windows, the configuration file locations are %APPDATA%\youtube-dl\config.txt and C:\Users\<Your‐
name>\youtube-dl.conf.