1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

Fix --date today

Closes #3704
This commit is contained in:
pukkandan
2022-05-11 05:52:31 +05:30
parent 3a408f9d19
commit 3d38b2d6d0
3 changed files with 18 additions and 20 deletions

View File

@ -435,9 +435,8 @@ def create_parser():
'--date',
metavar='DATE', dest='date', default=None,
help=(
'Download only videos uploaded on this date. '
'The date can be "YYYYMMDD" or in the format '
'"(now|today)[+-][0-9](day|week|month|year)(s)?"'))
'Download only videos uploaded on this date. The date can be "YYYYMMDD" or in the format '
'[now|today|yesterday][-N[day|week|month|year]]. Eg: --date today-2weeks'))
selection.add_option(
'--datebefore',
metavar='DATE', dest='datebefore', default=None,