Open afterdelight opened 1 year ago
!T
doesnt work either
You need to use :D<format>
to parse published
, and then you can format it:
{published:D%a, %d %b %Y %H:%M:%S %Z/%Y.%m.%d}
date
is the already parsed version of published
, by the way. There is no real reason the parse it a second time.
{published!d:%Y.%m.%d}
also does not work.
!d
converts a timestamp to date. published
is a string.
!T
doesnt work either
!T
converts a date to timestamp. published
is a string.
what if user want to choose added
instead of published
? is there no simple command?
will gumroad automatically use added
instead of published
? but added
is from when its added on kemono not when post is created on gumroad page
is there no simple command?
copy-paste and replacing "published" with "added" is not simple enough?
will gumroad automatically use
added
instead ofpublished
?
Yes, it will, as can be seen in https://github.com/mikf/gallery-dl/commit/6e3658ef52bdbc43cba55ecda6f13c0702d608e3
but
added
is from when its added on kemono not when post is created on gumroad page
gumroad posts on kemono have no other metadata that could be used as date
.
what about last-modified
header from this issue? https://github.com/mikf/gallery-dl/issues/2007
How to convert
{published}
value in filename to date format like{date:%Y%m%d}
i tried{published:%Y%m%d}
and it gaveFilenameFormatError: Applying filename format string failed (ValueError: Invalid format specifier)