-
I've been attempting to keep my favorites up-to-date using gallery-dl, and recently noticed that I was only getting recently posted images on Gelbooru; if I favorited an older image, it wouldn't be downloaded. Looking at the verbose output, this seems to be because the Favorites API is returning the images in reverse order of image id, not the time added as a favorite (discussed on issue #3704 ). Is there any way to properly get recently-added favorites without scanning the entire list? Archive file doesn't seem to help, as that seems to deal with already-existing files, and doesn't stop gallery-dl from making network requests (two per favorite - which adds up when you have thousands of favorites). Here's the command line: Here's
I've also tried supplying cookies to see if being "logged in" helps, and tried supplying username/password keys (even though documentation indicates these aren't used for Gelbooru, I figured it couldn't hurt). No change; verbose output still shows IDs being returned in reverse-id order. Other relevant detail:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I did a few test runs and, at least for me, it returns favorites in the same order as displayed by Gelbooru, which is descending favorite date order, I think.
It's returning favorites in ascending order of fav date, and I spend far longer than I want to admit to have gallery-dl return them in reverse / descending order. (dcb8af6) |
Beta Was this translation helpful? Give feedback.
So the Gelbooru devs disappeared into the night (I suppose I should have expected that given the state of their forums, documentation, FAQs, etc) but at least it's now working as before. But I have to wonder what kind of bug leads to different user ids functioning in completely different ways - that's just madness. Sorry to take up your time with this silliness!