Skip to content

Frioo/ChanDownloader

Repository files navigation

ChanDownloader

4chan image downloader

Uses the official 4chan API
Grab the latest releases here

Chan Downloader - API

Usage

var downloader = new Downloader();                        // create new ChanDownloader instance

var thread = await downloader.LoadThread(<thread_url>);   // load thread

var id = thread.Id;                                        // thread id
var subject = thread.Subject;                             // get thread subject (original)
var safeName = thread.SemanticSubject;                    // get thread subject in safe format
var files = thread.Files;                                 // get the file list

/*
 * the webclient is exposed so you can hook up your event callbacks
 * you can get the current downloaded file index from downloader.CurrentFileNumber
*/
downloader.WebClient.DownloadFileCompleted += <your_callback>;
await downloader.DownloadFiles(<your_path>);  // download the files to the specified directory

Chan Downloader - Console

Simple console program for downloading all images from a specified thread
ChanDownloader.Console

Chan Downloader - GUI

GUI program with additional features.
ChanDownloade.GUI