Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/backendtea/dlchan
Download all pictures of your favorite image board
https://github.com/backendtea/dlchan
4chan downloader golang
Last synced: 17 days ago
JSON representation
Download all pictures of your favorite image board
- Host: GitHub
- URL: https://github.com/backendtea/dlchan
- Owner: BackEndTea
- License: mit
- Created: 2018-10-31T16:23:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-23T16:22:16.000Z (almost 6 years ago)
- Last Synced: 2024-11-24T19:41:36.790Z (about 2 months ago)
- Topics: 4chan, downloader, golang
- Language: Go
- Size: 7.81 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DL chan
Downloads all images from a specified 4chan board.
## Instalation
```bash
$ go get github.com/backendtea/dlchan
```
## Usage```bash
$ dlchan --board=v --out=./output
```Options:
* `--board` (Required) Specifies the board to be downloaded from
* `--out` (Optional) Output directory where files will go, defaults to `.`
* `--thread` (Optional) Download only a specific threadThis will create a folde named `v` inside the `./output` folder, and save all images in that folder.
Images are named as they are on the website, which means that the unix timestap of when they were posted is the filename## Why
This was mostly made to get a bit of a grip on Golang, as the following has to be done:
* Check command flags
* Access a JSON API
* Retrieve some values
* Check if files/directories exist
* Download images
* Save those to the filesystem