Bionus/imgbrd-grabber

skipped download items gets inserted into MD5 database

Opened this issue · 0 comments

Bug description

When using the setting shown in image. Grabber adds another entry into its own sql, when image already exist containg modified md5 ( due to exif changing ).

Steps to reproduce

  1. Save a image from imgbrdGrabber using batch Download method.
  2. The image will be downloaded, and it's exif would be modified.
  3. In md5s.sqlite an entry would be added with image md5 and its path. This md5 is the original md5 which can be found on the site from which image was downloaded.
  4. Because of using exif command, the image md5 has changed on system.
  5. Save the same image again using batch Download method. ImgbrdGrabber will say file already exist and skip downloading.
  6. In md5s.sqlite imgbrdGrabber will create a new entry with the modfied md5 ( from step 3 ) with path pointing to same image.

Expected behavior

No duplicate entries in MD5 database.

Screenshots

image
image
image

System information

  • OS: ArchLinux
  • Grabber version: 7.12.2