github Emy69/CoomerDL v0.8.8.1

14 hours ago

🛠️ Fixes

  • Resolved Duplicate Filename Issue (Mode 1):
    • Improved the filename generation strategy to prevent false duplicate detections when downloading multiple attachments from different posts with similar names.
    • Introduced an attachment index and a short hash (derived from the media URL) to make each filename unique.

Changes

  • Updated get_filename Function:

    • Now appends a 4-digit hexadecimal hash based on the media URL alongside the attachment index in Mode 1.
    • Example of new naming: Post_Title_1_ab12.jpg instead of just Post_Title_1.jpg.
  • Enhanced process_media_element:

    • Integrated the new naming convention while maintaining backward compatibility with other modes (0 and 2).

Impact

  • No more false duplicate skipping: Files from different posts with similar names will be treated as distinct.
  • Backward Compatibility: Existing downloads and database structure remain unaffected.

Don't miss a new CoomerDL release

NewReleases is sending notifications on new releases.