Document configuration options

This commit is contained in:
Philipp Hagemeister 2012-11-26 23:23:33 +01:00
parent 23cf656bd1
commit 3a2c78a2da
1 changed files with 10 additions and 0 deletions

View File

@ -23,6 +23,7 @@
<li><a href="#d5">Proxy support</a></li> <li><a href="#d5">Proxy support</a></li>
<li><a href="#d6">YouTube formats</a></li> <li><a href="#d6">YouTube formats</a></li>
<li><a href="#d7">Output template</a></li> <li><a href="#d7">Output template</a></li>
<li><a href="#d8">Configuration</a></li>
</ul> </ul>
</div> </div>
@ -57,8 +58,11 @@
<li>Google Video.</li> <li>Google Video.</li>
<li>Google Video searches ("gvsearch" keyword).</li> <li>Google Video searches ("gvsearch" keyword).</li>
<li>Photobucket videos.</li> <li>Photobucket videos.</li>
<!--
Unsupported, see https://github.com/rg3/youtube-dl/issues/300
<li>Yahoo! video.</li> <li>Yahoo! video.</li>
<li>Yahoo! video searches ("ybsearch" keyword).</li> <li>Yahoo! video searches ("ybsearch" keyword).</li>
-->
<li>Dailymotion.</li> <li>Dailymotion.</li>
<li>DepositFiles.</li> <li>DepositFiles.</li>
<li>blip.tv.</li> <li>blip.tv.</li>
@ -95,6 +99,12 @@
<p>As you may have guessed, the default template is <em>%(id)s.%(ext)s</em>. When some command line options are used, it's replaced by other templates like <em>%(stitle)s-%(id)s.%(ext)s</em>. You can specify your own.</p> <p>As you may have guessed, the default template is <em>%(id)s.%(ext)s</em>. When some command line options are used, it's replaced by other templates like <em>%(stitle)s-%(id)s.%(ext)s</em>. You can specify your own.</p>
<h1 id="d8">Configuration</h1>
<p>
You can configure youtube-dl by placing default arguments (such as <code>--extract-audio --no-mtime</code> to always extract the audio and not copy the mtime) into <code>/etc/youtube-dl.conf</code> and/or <code>~/.local/config/youtube-dl.conf</code>.
</p>
<div class="note"> <div class="note">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"> <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">
<img alt="Creative Commons License" style="border-width:0" <img alt="Creative Commons License" style="border-width:0"