Added archive support, and the IP archive.

This commit is contained in:
2018-05-05 00:51:58 +02:00
parent 1b3a334c24
commit ca3bdd717d
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 => {