Files
gallery-dl/gallery_dl
Mike Fährmann 80c2e03aaa [reddit] allow 'date-min/max' to be human readable dates
If the date-min/max config value is a string, try parsing it using
datetime.strptime [1] with 'date-format' as format string [2]
(default: "%Y-%m-%dT%H:%M:%S")

Example: get all submissions posted in 2016

$ gallery-dl reddit.com/r/... \
    -o date-format=%Y \
    -o date-min=\"2016\" \
    -o date-max=\"2017\"

[1] https://docs.python.org/3/library/datetime.html#datetime.datetime.strptime
[2] https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior
2017-07-01 18:46:38 +02:00
..
2017-01-16 02:59:22 +01:00
2017-01-30 19:40:15 +01:00
2017-06-30 15:21:04 +02:00
2017-03-27 14:30:32 +02:00
2017-04-08 11:02:32 +02:00
2017-03-27 14:30:32 +02:00
2017-06-02 09:10:58 +02:00
2017-04-26 11:33:19 +02:00
2017-06-16 21:01:40 +02:00
2017-06-28 17:39:07 +02:00