ChanThreadWatch
ChanThreadWatch copied to clipboard
File blacklist
Is it possible to add an option to blacklist files by md5 hash to prevent CTW from downloading them?
Wouldn't that cause CTW to do a hash check on every single file downloaded?
I think it already does for 4chan. In the old project site the following is listed as a feature:
"4chan only: Option to verify hash of downloaded images (from the image tag's MD5 attribute)"
CTW would have to download them first to do a hash check.
What about checking the data-md5 tags in the html document before downloading the file?
That's actually the way it is currently done. However a file blacklist comes with other complications than for a thread blacklist. You'd have posts missing thumbnails, we'd need yet another blacklist file in the settings, and I'm not sure it would be used a lot since you would have to know the MD5 of the images and insert it manually in the file. As opposed to blacklisting threads where you just right-click and blacklist them (next release).
I'll see if more people are interested, but I don't want to "bloat" the settings with unused features.