You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a URL doesn't provide a {date} keyword, make the Date/Time information from the "Last-Modified" HTTP header field available as fallback {date} keyword.
gallery-dl -K https://i.redd.it/lz8ptshduw651.jpg
Keywords for directory names:
-----------------------------
category
reddit
extension
jpg
filename
lz8ptshduw651
subcategory
image
Keywords for filenames and --filter:
------------------------------------
category
reddit
extension
jpg
filename
lz8ptshduw651
subcategory
image
Nice idea, but not easily doable with gallery-dl's current infrastructure, at least not in general. A filename usually gets built before starting an HTTP request to download it in order to potentially skip it altogether, so the Last Modified header would only be available when it's already too late.
There is currently an exception to this for missing filename extensions. Maybe I can extend this a bit an also use for date fields.
When a URL doesn't provide a {date} keyword, make the Date/Time information from the "Last-Modified" HTTP header field available as fallback {date} keyword.
The text was updated successfully, but these errors were encountered: