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
{{ message }}
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.
Reposts sent by the bot inside the reddit channels have always been a problem, but I have an idea to at least reduce them.
I would suggest to add the following feature to the bot:
When it tries to post an image, it calculates a checksum of the image and compares it against a list of collected checksums. If the checksum already exists, it won't post it. The collected checksums may of course be deleted after a certain period of time.
While that won't entirely solve the problem, it will surely reduce the amount of reposts and I would greatly appreciate that.
Thank you in advance
Tasks:
Save md5 checksum of each sent picture in redis
Create a config to allow the admins to set the cache time
Check the redis cache before each post, if the checksum of the picture to be set already exists
The text was updated successfully, but these errors were encountered:
Defelo
transferred this issue from PyDrocsid/MorpheusHelper
Jul 29, 2021
Defelo
changed the title
Checksum validation to reduce reposts
Reddit: Checksum validation to reduce reposts
Jul 29, 2021
Reposts sent by the bot inside the reddit channels have always been a problem, but I have an idea to at least reduce them.
I would suggest to add the following feature to the bot:
When it tries to post an image, it calculates a checksum of the image and compares it against a list of collected checksums. If the checksum already exists, it won't post it. The collected checksums may of course be deleted after a certain period of time.
While that won't entirely solve the problem, it will surely reduce the amount of reposts and I would greatly appreciate that.
Thank you in advance
Tasks:
The text was updated successfully, but these errors were encountered: