a627388a4a7232de85db0f20fe7197c2ce01f093
Same video gets uploaded to turbo.cr under different IDs and resolves to different filenames, so the existsSync(filename) check can't catch content-duplicates. Switched to the same signature the gallery scanner uses — md5 of the first 64KB plus exact byte-size match — and apply it during the download stream so we abort once a same-content existing file is detected. Avoids re-downloading content the user already has (or has deliberately deleted via the duplicate scanner). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
No description provided
Languages
JavaScript
96.9%
Python
2.1%
Shell
0.6%
CSS
0.2%
Dockerfile
0.1%