How can I sort my downloaded Pixiv bookmarks in the same chronological order as they were bookmarked? #9085
Unanswered
gabor-motko
asked this question in
Q&A
Replies: 1 comment
-
You can get the current time in a format string with To convert this to a regular timestamp, use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been looking everywhere for information, unsuccessfully.
What I want to do is have my own Pixiv bookmarks downloaded in such a way that the filename contains a prefix that can be used to sort the files in the same order as the artworks were bookmarked, as they appear on the website. Something like a timestamp or a bookmark index. I haven't been able to find any relevant fields in
gallery-dl -K ...'s output. The date fields are all related to the artwork's or file's creation, and thenumfield only marks the file's position within the individual artwork.Right now my idea is to exploit the fact that files are downloaded from most recent to oldest. I want to download the files into a temporary directory, then either stat the file's
btimeor use--execto prepend the current timestamp and use that to calculate an index. This of course runs into the issue of having to keep the download archive very tightly controlled.Any input would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions