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
The download order corresponds to the best viewing order (hopefully, this is by design and is not an implementation detail that may break any time).
But, obliviously, when filenames are sorted alphanumerically, it's all messed up. Sorting by date makes even less sense, since gallery-dl messes with modification dates so they are all the same.
Running >gallery-dl -K https://nozomi.la/post/16456253.html results in nothing that looks like image number within the post. --write-metadata doesn't help either -- the jsons are identical except for "dataid", "filename" and "url" (all being variations of the same thing), so cannot be used to restore the order.
So my question is, is there a better way to preserve the sequence order, other than hacky and hard to automate "copy gallery-dl's output and build a rename script from that"?
The text was updated successfully, but these errors were encountered:
Would adding an enumeration index work for you, so you could have 16456253_01.jpg, 16456253_02.jpg, etc as filenames? Is it OK if those are there even if a post only has one file?
since gallery-dl messes with modification dates so they are all the same
Would adding an enumeration index work for you, so you could have 16456253_01.jpg, 16456253_02.jpg, etc as filenames? Is it OK if those are there even if a post only has one file?
Yes, that sounds like a good solution. An extra index wouldn't hurt for single-page posts, and it will make sorting multi-image ones a lot easier.
There seems to be no way to easily preserve image order in nozomi.la's posts which contain several images.
Here is a decent enough (NSFW) example demonstrating the issue: https://nozomi.la/post/16456253.html
The download order corresponds to the best viewing order (hopefully, this is by design and is not an implementation detail that may break any time).
But, obliviously, when filenames are sorted alphanumerically, it's all messed up. Sorting by date makes even less sense, since gallery-dl messes with modification dates so they are all the same.
Running
>gallery-dl -K https://nozomi.la/post/16456253.html
results in nothing that looks like image number within the post.--write-metadata
doesn't help either -- the jsons are identical except for "dataid", "filename" and "url" (all being variations of the same thing), so cannot be used to restore the order.So my question is, is there a better way to preserve the sequence order, other than hacky and hard to automate "copy gallery-dl's output and build a rename script from that"?
The text was updated successfully, but these errors were encountered: