updated docs
This commit is contained in:
parent
ef085d87ff
commit
3dceb9332b
3 changed files with 10 additions and 2 deletions
|
|
@ -185,6 +185,14 @@ chapters
|
||||||
|
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
date_range
|
||||||
|
''''''''''
|
||||||
|
.. autoclass:: ytdl_sub.plugins.date_range.DateRangeOptions()
|
||||||
|
:members:
|
||||||
|
:member-order: bysource
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
music_tags
|
music_tags
|
||||||
''''''''''
|
''''''''''
|
||||||
.. autoclass:: ytdl_sub.plugins.music_tags.MusicTagsOptions()
|
.. autoclass:: ytdl_sub.plugins.music_tags.MusicTagsOptions()
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ from ytdl_sub.validators.string_datetime import StringDatetimeValidator
|
||||||
|
|
||||||
class DateRangeOptions(PluginOptions):
|
class DateRangeOptions(PluginOptions):
|
||||||
"""
|
"""
|
||||||
Only download media within the specified date range
|
Only download files uploaded within the specified date range.
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ class StringDatetimeValidator(OverridesStringFormatterValidator):
|
||||||
A string in the format YYYYMMDD or
|
A string in the format YYYYMMDD or
|
||||||
(now|today|yesterday|date)[+-][0-9](microsecond|second|minute|hour|day|week|month|year)(s)
|
(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"
|
_expected_value_type_name = "datetime string"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue