Added archive support, and the IP archive.

This commit is contained in:
2024-09-11 05:16:54 +02:00
parent 8c4353f8ed
commit f0e312f2b1
14 changed files with 117 additions and 31 deletions

View File

@@ -6,6 +6,8 @@ const dissectLink = require('../dissectLink.js');
function curatePosts(posts, ignore) {
const processed = new Set();
console.log(ignore);
return posts.reduce((acc, post, index) => {
const host = dissectLink(post.url);
const ignoring = ignore ? ignore.find(prop => {