Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This looks nice! Is there a way to configure it to exclude certain categories of content (such as nsfw)? Do you tend to run this behind a proxy?


After a brief look at the code it doesn't seem so, however there's a procedure (insert_torrent() in src/torrents.nim) in which a retrieved torrent is added to the database, of which one column is the name of the torrent, so it would be possible to insert a filter based on a list of nsfw words that would discard the torrent if one or more are found. Of course it wouldn't work on torrents that hide their nature, which hopefully happens very rarely.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: