readthedocs FAQ (#26)

This commit is contained in:
Jesse Bannon 2022-05-15 22:34:28 -07:00 committed by GitHub
parent 3543101592
commit 7f79323e1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 0 deletions

View file

@ -93,6 +93,8 @@ output_options
-------------------------------------------------------------------------------
.. _ytdl_options:
ytdl_options
""""""""""""
.. autoclass:: ytdl_sub.config.preset_options.YTDLOptions()

24
docs/faq.rst Normal file
View file

@ -0,0 +1,24 @@
FAQ
===
Since ytdl-sub is relatively new to the public, there has
not been many question asked yet. We will update this as
more questions get asked.
.. contents:: Frequently Asked Questions
:depth: 3
How do I...
-----------
...download age-restricted YouTube videos?
''''''''''''''''''''''''''''''''''''''''''
See
`ytdls recommended way <https://github.com/ytdl-org/youtube-dl#how-do-i-pass-cookies-to-youtube-dl>`_
to download your YouTube cookie, then add it to your
:ref:`ytdl options <ytdl_options>` section of your config:
.. code-block:: yaml
ytdl_options:
cookiefile: "/path/to/cookies/file.txt"

View file

@ -20,3 +20,4 @@ Contents
getting_started
config
examples
faq