Skip to content

Instantly share code, notes, and snippets.



Created Apr 17, 2017
What would you like to do?
ffffound is shutting down
const fs = require('fs');
const hyperquest = require('hyperquest');
const pump = require('pump');
const xray = require('x-ray');
const parse = require('json-parse-stream');
const through = require('through2').obj;
const x = xray().throttle(1, 300); // be considerate
const schema = [{
title: '.title a',
link: '.title a@title',
description: '.description',
url: 'table a img@src'
x('', '#assets .asset', schema)
.pipe(through(({ type, value }, enc, cb) => {
if (type !== 'object') return cb();
value.filename = value.url.split('/').pop();
// make sure `img` folder exists
const path = `${__dirname}/img/${value.filename}`;
pump(hyperquest(value.url), fs.createWriteStream(path), (err) => {
if (!err) console.log('Downloaded', value.url);
cb(err, JSON.stringify(value) + '\n');
.on('finish', process.exit);

This comment has been minimized.

Copy link

@ghost ghost commented Jun 15, 2017

Oi! Any idea if there is a torrent dump of ffffound floating around anywhere? I missed the news :(


This comment has been minimized.

Copy link

@Sgouws Sgouws commented Jul 3, 2017

You can still access the old content here. -> ffffound Web Archives


This comment has been minimized.

Copy link

@vslbsl vslbsl commented Sep 6, 2017

here is torrent with a dump

An OSX sparsebundle containing the images
A MySQL dump containing all the image metadata, users, and user/image relationships

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment