updated docs

This commit is contained in:
Jesse Bannon 2022-08-28 10:55:38 -07:00
parent ef085d87ff
commit 3dceb9332b
3 changed files with 10 additions and 2 deletions

View file

@ -185,6 +185,14 @@ chapters
-------------------------------------------------------------------------------
date_range
''''''''''
.. autoclass:: ytdl_sub.plugins.date_range.DateRangeOptions()
:members:
:member-order: bysource
-------------------------------------------------------------------------------
music_tags
''''''''''
.. autoclass:: ytdl_sub.plugins.music_tags.MusicTagsOptions()

View file

@ -10,7 +10,7 @@ from ytdl_sub.validators.string_datetime import StringDatetimeValidator
class DateRangeOptions(PluginOptions):
"""
Only download media within the specified date range
Only download files uploaded within the specified date range.
Usage:

View file

@ -14,7 +14,7 @@ class StringDatetimeValidator(OverridesStringFormatterValidator):
A string in the format YYYYMMDD or
(now|today|yesterday|date)[+-][0-9](microsecond|second|minute|hour|day|week|month|year)(s)
Valid examples are ``now-2weeks`` or ``20200101``.
Valid examples are ``now-2weeks`` or ``20200101``. Can use override variables in this.
"""
_expected_value_type_name = "datetime string"