SuperGouge / ChanThreadWatch

Fork of the original discontinued ChanThreadWatch.
90 stars 13 forks source link

File blacklist #25

Open usernamestring opened 10 years ago

usernamestring commented 10 years ago

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

fJo81VzbYs2laS9o commented 10 years ago

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

usernamestring commented 10 years ago

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

fJo81VzbYs2laS9o commented 10 years ago

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

usernamestring commented 10 years ago

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

SuperGouge commented 10 years ago

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.