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
271 stars 30 forks source link

History garbage I see at launch #125

Closed kauffy closed 5 months ago

kauffy commented 5 months ago

Here is an example of what I'm getting when I launch DDG-- the history should be capped so that, in theory, it won't history everything, but just (ideally) what hasn't been grabbed yet. It also continually posts these "DOWNLOAD FAILED" errors.


2024/01/15 15:45:39 main.go:231:        > [Info] ** NEED HELP? discord-downloader-go Discord Server: https://discord.gg/6Z6FJZVaDV **
2024/01/15 15:45:39 main.go:240:        > ------------- Discord Downloader GO v2.4.0 is online with access to 1 server -------------
2024/01/15 15:45:39 main.go:243:        > CTRL+C to exit...
2024/01/15 15:45:39 main.go:286:        > [History | Autorun] History Autoruns completed (for 11 channels)
2024/01/15 15:45:39 main.go:289:        > [History | Autorun] Waiting for something else to do...
2024/01/15 15:45:41 history.go:352:     > [History] 103505471/AUTORUN: Began checking history for "Kauffy / Text Channels / Text Channels "the-kauff-drop""...
2024/01/15 15:45:41 history.go:352:     > [History] 11348940124/AUTORUN: Began checking history for "Kauffy / Text Channels / Text Channels "sidesketch""...
2024/01/15 15:45:41 history.go:352:     > [History] 1124934117/AUTORUN: Began checking history for "Kauffy / Text Channels / Text Channels "gary-glass""...
2024/01/15 15:45:46 main.go:537:        > [Discord | Emojis] Error while creating destination folder "": mkdir : The system cannot find the path specified.
2024/01/15 15:45:46 main.go:540:        > [Discord | Emojis] Starting emoji downloads...
2024/01/15 15:45:46 main.go:606:        > [Discord | Stickers] Error while creating destination folder "": mkdir : The system cannot find the path specified.
2024/01/15 15:45:46 main.go:608:        > [Discord | Stickers] Starting sticker downloads...
2024/01/15 15:45:57 history.go:367:     > [History] 11249341174/AUTORUN: Requesting more,       0 downloaded (0 B),     20 processed,   searching before 28w ago (2023-07-02)
2024/01/15 15:45:57 history.go:552:     > [History] 112493411595/AUTORUN: Finished history for "Kauffy / Text Channels / Text Channels "gary-glass"", 0 files, 0 B total
2024/01/15 15:46:01 history.go:352:     > [History] 11246318695/AUTORUN: Began checking history for "Kauffy / Text Channels / Text Channels "space-train""...
2024/01/15 15:46:48 history.go:367:     > [History] 10350547/AUTORUN: Requesting more,       0 downloaded (0 B),     100 processed,  searching before 3d ago (2024-01-12)
2024/01/15 15:46:49 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/pw2AJisu9Vk
2024/01/15 15:46:50 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:46:50 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:46:51 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:46:52 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:46:52 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:46:53 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:46:54 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:46:55 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:46:56 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:46:56 downloads.go:767:   > [Downloads] HISTORY DOWNLOAD FAILED, 403 Forbidden: https://s.mj.run/LNElBll24DE
2024/01/15 15:47:09 history.go:367:     > [History] 11248544676695/AUTORUN: Requesting more,       0 downloaded (0 B),     100 processed,  searching before 17w ago (2023-09-12)
2024/01/15 15:47:49 history.go:367:     > [History] 10350992510/AUTORUN: Requesting more,       0 downloaded (0 B),     200 processed,  searching before 4d ago (2024-01-11)
2024/01/15 15:48:01 history.go:367:     > [History] 11244676370185/AUTORUN: Requesting more,       0 downloaded (0 B),     200 processed,  searching before 20w ago (2023-08-28)
2024/01/15 15:48:09 history.go:367:     > [History] 113489445229117/AUTORUN: Requesting more,       0 downloaded (0 B),     100 processed,  searching before 16h ago (2024-01-15)
2024/01/15 15:49:03 history.go:367:     > [History] 103717253510/AUTORUN: Requesting more,       0 downloaded (0 B),     300 processed,  searching before 4d ago (2024-01-11)
2024/01/15 15:49:04 history.go:367:     > [History] 1124446760185/AUTORUN: Requesting more,       0 downloaded (0 B),     300 processed,  searching before 20w ago (2023-08-26)
2024/01/15 15:50:00 history.go:367:     > [History] 112676370195/AUTORUN: Requesting more,       0 downloaded (0 B),     400 processed,  searching before 20w ago (2023-08-23)
2024/01/15 15:50:06 history.go:367:     > [History] 1035054992510/AUTORUN: Requesting more,       0 downloaded (0 B),     400 processed,  searching before 1w ago (2024-01-06)```
get-got commented 5 months ago

Added "outputHistoryStatus" and "outputHistoryErrors" globally and per-source to disable these https://github.com/get-got/discord-downloader-go/commit/42b73cb9ce27fe8660a518ef86b5249e319e5108