ChanThreadWatch icon indicating copy to clipboard operation
ChanThreadWatch copied to clipboard

File blacklist

Open usernamestring opened this issue 10 years ago • 5 comments

Is it possible to add an option to blacklist files by md5 hash to prevent CTW from downloading them?

usernamestring avatar Jul 02 '14 20:07 usernamestring

Wouldn't that cause CTW to do a hash check on every single file downloaded?

fJo81VzbYs2laS9o avatar Jul 03 '14 04:07 fJo81VzbYs2laS9o

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)"

usernamestring avatar Jul 03 '14 04:07 usernamestring

CTW would have to download them first to do a hash check.

fJo81VzbYs2laS9o avatar Jul 03 '14 05:07 fJo81VzbYs2laS9o

What about checking the data-md5 tags in the html document before downloading the file?

usernamestring avatar Jul 03 '14 06:07 usernamestring

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.

SuperGouge avatar Jul 03 '14 12:07 SuperGouge