get-got / discord-downloader-go

A Discord bot program to download and otherwise handle files sent in Discord channels with extensive configuration. Can be used as a genuine Discord Bot or user account / self-bot
MIT License
277 stars 31 forks source link

History Since setting in .json is still ignored-- all history sought #117

Closed kauffy closed 7 months ago

kauffy commented 10 months ago

This is a variation on my prior issue asking about the date format. Then I saw this issue:

[https://github.com/get-got/discord-downloader-go/issues/116#issue-2022103346](History --since not working #116)

That describes the problem exactly, except that issue was resolved by 2.4.0, and I am using 2.4.0, and still having the issue

get-got commented 10 months ago

I'll work on fixing this when I have time this week, in the meantime deleting the cache/history folder before running history should fix the issue.

kauffy commented 10 months ago

I've cleared cache/history, and I'm in a largely improved state, except (my autoHistorySince is set to 2023-10-31)-- image

and also image

kauffy commented 10 months ago

I guess there's an argument to be made that autoHistory should mark where the last time it downloaded from a given server/channel/format before and not search before that.

In my use case, I'm using it to grab my Midjourney images-- but I only need the history to catch whatever images I may have generated while DDG wasn't running. Of course, initially, the "grab everything" was required and worked perfectly. So many pictures!

get-got commented 10 months ago

"autoHistory should mark where the last time it downloaded from a given server/channel/format before and not search before" is the intended purpose of cache/history, not only for autoHistory but for everything, but something is clearly broken. I'll need to restructure how the caching & since handling works.

kauffy commented 10 months ago

I get a lot of that output-- but a lot less of the garbage since I dumped the cache/history. And I should say that this utility is a freaking godsend. I am a packrat, and don't want to lose a single image, and given that Midjourney likes to give me images in ephemeral messages, and that their own download facility is garbage, this is-- again-- a godsend.

get-got commented 7 months ago

Should be fixed with v2.5.0, reopen if not.